forked from faucetsdn/faucet
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
20 lines (17 loc) · 704 Bytes
/
.pylintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[MASTER]
# TODO: remove consider-using-f-string when python3.5 is gone.
disable=
fixme,
import-error,
consider-using-f-string
[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))$
# Default: argument-naming-style=snake_case (SnakeCaseStyle)
# Default: variable-naming-style=snake_case (SnakeCaseStyle)
# Override: add Faucet name (dp)
argument-rgx=(([^\W\dA-Z][^\WA-Z]{2,}|_[^\WA-Z]*|__[^\WA-Z\d_][^\WA-Z]+__)|(dp))$
variable-rgx=(([^\W\dA-Z][^\WA-Z]{2,}|_[^\WA-Z]*|__[^\WA-Z\d_][^\WA-Z]+__)|(dp))$