Closed alex closed 2 years ago
Ah, I'll add the __all__
Thanks much! Not sure if there's a good way to test this in CI...
Released 1.0.2 to address this (https://pypi.org/project/iso8601/1.0.2/).
I've also stuck in a docs/example.py
which I can run mypy against in tests to catch similar problems in future (it demonstrated this error).
Also, thanks for reporting this!
Thanks for the quick fix!
Visible here: https://github.com/pyca/cryptography/runs/4298864013?check_suite_focus=true
I believe this is because
__init__.py
uses animport *
to import everything, but doesn't have an__all__
, somypy
doesn't know what functions are available.This is triggered by 1.0.1 because of the introduction of
py.typed
.