Skip to content

Commit

Permalink
Adjust linting rules to allow for concise variable and argument names.
Browse files Browse the repository at this point in the history
  • Loading branch information
lapets committed Dec 31, 2024
1 parent 15a29d4 commit 6d6ef14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ argument-naming-style=snake_case
# Regular expression matching correct argument names. Overrides argument-
# naming-style. If left empty, argument names will be checked with the set
# naming style.
#argument-rgx=
argument-rgx=^(_?)[a-z][a-z0-9]*(_[a-z0-9]+)*$

# Naming style matching correct attribute names.
attr-naming-style=snake_case
Expand Down Expand Up @@ -248,7 +248,7 @@ variable-naming-style=snake_case
# Regular expression matching correct variable names. Overrides variable-
# naming-style. If left empty, variable names will be checked with the set
# naming style.
#variable-rgx=
variable-rgx=^(_?)[a-z][a-z0-9]*(_[a-z0-9]+)*(_?)(_?)$


[CLASSES]
Expand Down

0 comments on commit 6d6ef14

Please sign in to comment.