-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
40 lines (30 loc) · 1.2 KB
/
.pylintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[MASTER]
ignore = CVS, .git, .venv, .env, .env2, .tox, dist, doc, *egg
[MESSAGES CONTROL]
disable =
C0111, # C0111: Missing module docstring
C0116, # C0116: Missing function docstring
; C0301, # C0301: Line too long (flake8's job)
; I0011, # I0011: Locally disabling
; W0235, # W0235: Useless super delegation in method
; W0511, # W0511: TODO (we're all adults here)
[REPORTS]
reports = y
output-format = colorized
[BASIC]
# Allow single-letter variable names (for unit tests)
variable-rgx = [a-z_][a-z0-9_]{0,20}$
# Allow single-letter argument names (for unit tests)
; argument-rgx = [a-z_][a-z0-9_]{0,30}$
# Allow 3+ character and test suite method names
; method-rgx = ([a-z_][a-z0-9_]{2,40}|GET|HEAD|PUT|POST|DELETE|setUp|tearDown)$
# Don't require docstrings for magic methods and test suite classes/methods
; no-docstring-rgx = ((__.*__)|((.*_)?[tT]est.*)|([mM]ock.*)|setUp|tearDown)$
# Constants can be BLA_BLA or logger
; const-rgx = (([A-Z_][A-Z0-9_]*)|(__.*__)|logger)$
[DESIGN]
; max-args = 10
# (R0903) Some special classes might use only magic methods
; min-public-methods = 0
# (R0904) TestCase inheritance means ~45 public methods for starters
; max-public-methods = 20