Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 293 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 293 Bytes
mypy minimal_mypy_import/
minimal_mypy_import/__init__.py:3: error: Name 'a_value' is not defined

If we switch a/__init__.py from:

from .file import *

__all__ = file.__all__

To:

from .file import *

__all__ = ["a_value"]

MyPy can check this OK.