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
typing.ClassVar
Unknown | T_inferred
__init__
self.x, self.y = …
@classmethod
@staticmethod
self
ClassVar
See also: Markdown test suite with some open TODOs: https://github.com/astral-sh/ruff/blob/main/crates/red_knot_python_semantic/resources/mdtest/attributes.md
The text was updated successfully, but these errors were encountered:
Modified the description to reflect the current progress
Sorry, something went wrong.
[red-knot] Extend instance/class attribute tests (#15959)
eb08345
## Summary In preparation for creating some (sub) issues for #14164, I'm trying to document the current behavior (and a bug) a bit better.
sharkdp
No branches or pull requests
typing.ClassVar
(resolved by [red-knot] Add support fortyping.ClassVar
#15550)Unknown | T_inferred
for undeclared class variables (resolved by [red-knot] UseUnknown | T_inferred
for undeclared public symbols #15674)__init__
or another method (resolved by [red-knot] Implicit instance attributes #15811)self.x, self.y = …
#15962@classmethod
) #15965@staticmethod
s should not influence instance attributes #15961self
ClassVar
annotations #15767See also: Markdown test suite with some open TODOs: https://github.com/astral-sh/ruff/blob/main/crates/red_knot_python_semantic/resources/mdtest/attributes.md
The text was updated successfully, but these errors were encountered: