- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 3k
 
Closed
Labels
false-positivemypy gave an error on correct codemypy gave an error on correct codefeaturepriority-0-high
Description
Take this directory tree:
/path/to/src
└───namespace
    └───package
        │   __init__.py
        │
        └───__pycache__
                __init__.cpython-35.pyc
And this MYPYPATH:
> $env:MYPYPATH
/path/to/src
then running mypy -p namespace.package gives:
> mypy -p namespace.package
Can't find package 'namespace.package'
However, mypy works fine when you add an empty __init__.py into namepace (turning it into a regular package).
djetelina, michaelbull, stefano-m, ostrokach, ccope and 11 more
Metadata
Metadata
Assignees
Labels
false-positivemypy gave an error on correct codemypy gave an error on correct codefeaturepriority-0-high