[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:
nanoric 2019-01-05 04:22:27 -04:00
parent 530ff2e269
commit 535c2cdc97

View File

@ -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.