Skip to content

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