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
In 3.14, evaluation of annotations is deferred. Pylint raises undefined-variable for the field annotation below, but in 3.14 this is a false positive. class X: x: X # <-- undefined-variable
pylint annotation.py
annotation.py:2:7: E0602: Undefined variable 'X' (undefined-variable)
no warning
pylint 3.3.2 astroid 3.3.6 Python 3.14.0a3+ (heads/main:2a66dd33dfc, Dec 21 2024, 16:04:14) [GCC 9.4.0]
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug description
Configuration
Command used
Pylint output
Expected behavior
no warning
Pylint version
OS / Environment
No response
Additional dependencies
The text was updated successfully, but these errors were encountered: