We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mypy fails locally with the following:
mypy
$ poetry run mypy . site/scripts/gen_ref_pages.py: error: Duplicate module named "gen_ref_pages" (also at "./docs/scripts/gen_ref_pages.py") site/scripts/gen_ref_pages.py: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules for more info site/scripts/gen_ref_pages.py: note: Common resolutions include: a) using `--exclude` to avoid checking one of them, b) adding `__init__.py` somewhere, c using `--explicit-package-bases` or adjusting MYPYPATH Found 1 error in 1 file (errors prevented further checking)
The text was updated successfully, but these errors were encountered:
You're overriding the path(s) for MyPy with the ., instead do:
.
poetry run mypy
If you drop the local path then MyPy will default to the following directories:
prymer/pyproject.toml
Line 103 in 5d79a52
Alternatively we could tell MyPy what to exclude instead of include:
https://mypy.readthedocs.io/en/stable/config_file.html#confval-exclude
Sorry, something went wrong.
nh13
No branches or pull requests
mypy
fails locally with the following:The text was updated successfully, but these errors were encountered: