[Merge] pull request #1318 from nanoric/pylint_and_yapf_config
[Mod] constant can be both UPPER_CASE or CamelCase
This commit is contained in:
commit
e3c22e3371
@ -153,11 +153,11 @@ class-naming-style=PascalCase
|
|||||||
#class-rgx=
|
#class-rgx=
|
||||||
|
|
||||||
# Naming style matching correct constant names.
|
# 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-
|
# Regular expression matching correct constant names. Overrides const-naming-
|
||||||
# style.
|
# style.
|
||||||
#const-rgx=
|
const-rgx=(([A-Z_][A-Za-z0-9_]*)|(__.*__))$
|
||||||
|
|
||||||
# Minimum line length for functions/classes that require docstrings, shorter
|
# Minimum line length for functions/classes that require docstrings, shorter
|
||||||
# ones are exempt.
|
# ones are exempt.
|
||||||
|
Loading…
Reference in New Issue
Block a user