Skip to content
New issue

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

Mention common resolutions for build errors #12154

Merged
merged 1 commit into from
Feb 9, 2022

Conversation

hauntsaninja
Copy link
Collaborator

Might help with breaking changes that result from #9636

Might help with breaking changes that result from python#9636
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2022

Diff from mypy_primer, showing the effect of this PR on open source code:

mitmproxy (https://github.com/mitmproxy/mitmproxy)
- examples/addons/anatomy.py: note: Are you missing an __init__.py? Alternatively, consider using --exclude to avoid checking one of them.
+ examples/addons/anatomy.py: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules for more info
+ examples/addons/anatomy.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

@hauntsaninja
Copy link
Collaborator Author

hauntsaninja commented Feb 9, 2022

Note that a common resolution currently is also to specify --namespace-packages, but I'm omitting that because of #9636

@hauntsaninja hauntsaninja merged commit 234344b into python:master Feb 9, 2022
@hauntsaninja hauntsaninja deleted the sx2 branch February 9, 2022 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants