Closed jap closed 32 minutes ago
Hi,
We are using __all__
to export the names from the inits, so the PR should use it instead of as ...
For example: https://github.com/falconry/falcon/blob/master/falcon/asgi/__init__.py
@vytas7 I don't remember if there was a script that generated the __all__
I just generated one manually (that is, my editor did most of the work)
Resolved fixed in #2388.
Now that falcon 4 with type hints has been released 🎉 , we've enabled type checking using mypy as well for the falcon namespace for our codebase.
Unfortunately,
falcon.testing.__init__
does not reexport the names it imports, which causes complaints by mypy, for example:(PR will follow)