Skip to content

Commit

Permalink
pylint: White-list 'unittest' names - setUp & tearDown
Browse files Browse the repository at this point in the history
  • Loading branch information
mwutzke committed Jul 29, 2021
1 parent 4c5d18f commit c1512cc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@

[FORMAT]
max-line-length=120

[BASIC]
# Default: method-naming-style=snake_case (SnakeCaseStyle)
# Override: add 'unittest' methods (setUp & tearDown)
method-rgx=(([^\W\dA-Z][^\WA-Z]{2,}|_[^\WA-Z]*|__[^\WA-Z\d_][^\WA-Z]+__)|(setUp)|(tearDown))$

0 comments on commit c1512cc

Please sign in to comment.