-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Closed
Copy link
Labels
C: invalid-nameFalse Positive 🦟A message is emitted but nothing is wrong with the codeA message is emitted but nothing is wrong with the codeNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationThis issue is accepted, sufficiently specified and now needs an implementation
Milestone
Description
Bug description
Here's example.py
MyExampleType = typing.TypedDict(
"MyExampleType",
{
"some_field": str,
},
)
_ParamT = typing.ParamSpec("_ParamT")
Error:
example.py:22:0: C0103: Constant name "MyExampleType" doesn't conform to UPPER_CASE naming style (invalid-name)
example.py:42:0: C0103: Parameter specification variable name "_ParamT" doesn't conform to predefined naming style (invalid-name)Configuration
Command used
pylint example.pyPylint output
example.py:22:0: C0103: Constant name "MyExampleType" doesn't conform to UPPER_CASE naming style (invalid-name)
example.py:42:0: C0103: Parameter specification variable name "_ParamT" doesn't conform to predefined naming style (invalid-name)Expected behavior
I would not want to get these errors
Pylint version
pylint 4.0.1
astroid 4.0.1
python 3.12.11OS / Environment
No response
Additional dependencies
Metadata
Metadata
Assignees
Labels
C: invalid-nameFalse Positive 🦟A message is emitted but nothing is wrong with the codeA message is emitted but nothing is wrong with the codeNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationThis issue is accepted, sufficiently specified and now needs an implementation