-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpylintrc
49 lines (40 loc) · 1.06 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
41
42
43
44
45
46
47
48
49
[BASIC]
# Regular expression which should only match functions or classes name which do
# not require a docstring
no-docstring-rgx=__.*__|test[A-Z_].*|setUp|tearDown|.*_mock
extension-pkg-whitelist=lxml
disable= bad-continuation,
too-few-public-methods,
too-many-arguments,
duplicate-code,
fixme,
raise-missing-from,
logging-fstring-interpolation
enable= useless-suppression
good-names=logger,
i,
j,
k,
ex,
Run,
ns,
f,
_
[SIMILARITIES]
# Minimum lines number of a similarity.
min-similarity-lines=4
# Ignore comments when computing similarities.
ignore-comments=yes
# Ignore docstrings when computing similarities.
ignore-docstrings=yes
# Ignore imports when computing similarities.
ignore-imports=yes
[VARIABLES]
dummy-variables-rgx=_|dummy|unused|.*_unused
ignored-argument-names=_.*|^ignored_|^unused_|.*_unused
[CLASSES]
defining-attr-methods=__init__,
__new__,
setUp
[DESIGN]
max-locals=16