-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
60 lines (38 loc) · 1.07 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
50
51
52
53
54
55
56
57
58
59
60
[MESSAGES CONTROL]
disable=
missing-function-docstring,
missing-module-docstring,
no-else-return,
protected-access, # those LXML class names start with underscores
[REPORTS]
# Tells whether to display a full report or only the messages
reports=no
score=no
[VARIABLES]
# Tells whether we should check for unused import in __init__ files.
init-import=no
# A regular expression matching the name of dummy variables (i.e. expectedly
# not used).
dummy-variables-rgx=_$|\w+_unused
[FORMAT]
# Maximum number of characters on a single line.
max-line-length=132
# pylint-quotes plugin config
string-quote=single-avoid-escape
triple-quote=single
docstring-quote=double
[DESIGN]
# Maximum number of arguments for function / method
max-args=10
[BASIC]
# We're cool with map, filter, input
bad-functions=
# Remove restrictions on name lengths
argument-rgx=[a-z_][a-z0-9_]*$
attr-rgx=[a-z_][a-z0-9_]*$
class-attribute-rgx=[A-Za-z_][A-Za-z0-9_]*
function-rgx=[a-z_][a-z0-9_]*$
method-rgx=[a-z_][a-z0-9_]*$
variable-rgx=[a-z_][a-z0-9_]*$
[MASTER]
extension-pkg-whitelist=lxml