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
When you pass a directory to mypy, it type-checks the files in the directory, assuming the directory is not a package. To treat the directory as a package, you would need to use mypy -p t. Unfortunately there's still a bug there and the workaround is to add an empty __init__.pyi to the directory.
this is a bug with namespace packages.
code
mypy 0.782 and Python 3.8.5
yes
None.
The text was updated successfully, but these errors were encountered: