Skip to content

saulshanabrook/minimal_mypy_import

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages