We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I suspect it's because you need to do
from salted.__main__ import Salted as Salted
instead of
from salted.__main__ import Salted
Or typecheckers won't consider it a re-export. https://www.python.org/dev/peps/pep-0484/#stub-files
I'm not 100% sure - since the pep only makes the claim about stub files. It's pretty easily reproable by setting up
from salted import Salted
And running mypy --strict testfile.py
mypy --strict testfile.py
The text was updated successfully, but these errors were encountered:
RuedigerVoigt
No branches or pull requests
I suspect it's because you need to do
instead of
Or typecheckers won't consider it a re-export.
https://www.python.org/dev/peps/pep-0484/#stub-files
I'm not 100% sure - since the pep only makes the claim about stub files. It's pretty easily reproable by setting up
And running
mypy --strict testfile.py
The text was updated successfully, but these errors were encountered: