pylint: Allow A-Z for attributes

To use ClassVar with dataclass
This commit is contained in:
Florian Bruhin 2021-02-09 20:26:55 +01:00
parent 763e41d84d
commit 67c4a40137
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ disable=locally-disabled,
function-rgx=[a-z_][a-z0-9_]{2,50}$
const-rgx=[A-Za-z_][A-Za-z0-9_]{0,30}$
method-rgx=[a-z_][A-Za-z0-9_]{1,50}$
attr-rgx=[a-z_][a-z0-9_]{0,30}$
attr-rgx=[A-Za-z_][A-Za-z0-9_]{0,30}$
class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{1,30}|(__.*__))$
argument-rgx=[a-z_][a-z0-9_]{0,30}$
variable-rgx=[a-z_][a-z0-9_]{0,30}$