You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unless current behaviour is unintended, this is more of a feature request.
I would like to have option for mypy to recurse into namespace packages - currently if I have somepackage with ext namespace package, mypy will not recurse into packages in that namespace package. Here's an example tree:
For such tree, running mypy --strict --namespace-packages -p somepackage will only check files that are inside somepackage. Adding empty __init__.pyi to ext folder will solve this problem but it's really just a workaround for this problem.
I checked this tree with mypy from master (Python 3.7.4) to make sure this wasn't solved in the meantime.
The text was updated successfully, but these errors were encountered:
Unless current behaviour is unintended, this is more of a feature request.
I would like to have option for mypy to recurse into namespace packages - currently if I have
somepackage
withext
namespace package, mypy will not recurse into packages in that namespace package. Here's an example tree:For such tree, running
mypy --strict --namespace-packages -p somepackage
will only check files that are insidesomepackage
. Adding empty__init__.pyi
toext
folder will solve this problem but it's really just a workaround for this problem.I checked this tree with mypy from master (Python 3.7.4) to make sure this wasn't solved in the meantime.
The text was updated successfully, but these errors were encountered: