invalid-name check for TypeAlias should allow for digits in names #8485
Labels
C: invalid-name
False Positive 🦟
A message is emitted but nothing is wrong with the code
Help wanted 🙏
Outside help would be appreciated, good for new contributors
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Milestone
Bug description
from typing import Union
Ec2Data = Union[int, str]
Configuration
No response
Command used
Pylint output
Expected behavior
Digits in variable names are pretty common and should be allowed. In the example above we work with EC2 and there is not good substitute for using a digit.
We believe pylint is being too strict in the new check introduced in #7116.
Pylint version
OS / Environment
MacOS 13.2.1
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: