[Mod] constant can be both UPPER_CASE or CamelCase
UPPER_CASE if for normal constant, CamelCase is for Type aliases.
This commit is contained in:
parent
530ff2e269
commit
535c2cdc97
@ -153,11 +153,11 @@ class-naming-style=PascalCase
|
||||
#class-rgx=
|
||||
|
||||
# Naming style matching correct constant names.
|
||||
const-naming-style=UPPER_CASE
|
||||
#const-naming-style=UPPER_CASE
|
||||
|
||||
# Regular expression matching correct constant names. Overrides const-naming-
|
||||
# style.
|
||||
#const-rgx=
|
||||
const-rgx=(([A-Z_][A-Za-z0-9_]*)|(__.*__))$
|
||||
|
||||
# Minimum line length for functions/classes that require docstrings, shorter
|
||||
# ones are exempt.
|
||||
|
Loading…
Reference in New Issue
Block a user