benc

joined 2 years ago
[–] benc@mastodon.hawaga.org.uk 1 points 11 months ago (1 children)

@fixmycode mypy type checking can report this error in your code:

iox3.py:3: error: Module "iox2" does not explicitly export attribute "y" [attr-defined]

which I think is roughly the problem you are encountering: an attribute in an imported module that wasn't explicitly defined in that module, but instead came from somewhere else.