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
To Reproduce
class SimpleClass: def __init__(self) -> None: self.a = "test" print(SimpleClass.a)
Expected Behavior
I was expecting SimpleClass.a to be caught as an error.
SimpleClass.a
Pyright does catch it:
asd.py asd.py:5:19 - error: Cannot access member "a" for type "Type[SimpleClass]" Member "a" is unknown (reportGeneralTypeIssues)
Actual Behavior
No issues found.
Your Environment
--strict
mypy.ini
The text was updated successfully, but these errors were encountered:
Duplicate of #240
Sorry, something went wrong.
No branches or pull requests
To Reproduce
Expected Behavior
I was expecting
SimpleClass.a
to be caught as an error.Pyright does catch it:
Actual Behavior
No issues found.
Your Environment
--strict
mypy.ini
(and other config files): N/AThe text was updated successfully, but these errors were encountered: