Annotated module level constant not checked for invalid-name
#9770
Open
Description
Originally reported by @mbyrnepr2 in #7232 (comment).
Bug description
"""should raise invalid-name"""
my_var: int = 1
Configuration
No response
Command used
pylint a.py
Pylint output
% pylint x.py
--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 0.00/10, +10.00)
Expected behavior
invalid-name
Pylint version
pylint 3.3.0-dev0
astroid 3.3.0-dev0
Python 3.13.0b3
OS / Environment
No response
Additional dependencies
No response