forked from smarkets/marge-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pylintrc
39 lines (32 loc) · 959 Bytes
/
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
[MASTER]
persistent=no
[BASIC]
include-naming-hint=yes
function-rgx=(([a-z_][a-z0-9_]{2,80})|(_[a-z0-9_]*)|(__[a-z][a-z0-9_]+__))$
method-rgx=(([a-z_][a-z0-9_]{2,60})|(_[a-z0-9_]*)|(__[a-z][a-z0-9_]+__))$
variable-rgx=(([a-z_][a-z0-9_]{2,60})|(_[a-z0-9_]*)|(__[a-z][a-z0-9_]+__))$
attr-rgx=(([a-z_][a-z0-9_]{2,40})|(_[a-z0-9_]*)|(__[a-z][a-z0-9_]+__))$
argument-rgx=(([a-z_][a-z0-9_]{2,40})|(_[a-z0-9_]*)|(__[a-z][a-z0-9_]+__))$
[MESSAGE CONTROL]
disable=bad-continuation,
fixme,
missing-docstring,
no-self-use,
unsubscriptable-object
[SIMILARITIES]
min-similarity-lines=10
[TYPECHECK]
# this can be removed when we bump to asteroid >1.6.1
# see: https://github.com/PyCQA/astroid/pull/487/files
ignored-classes=Popen
[FORMAT]
max-line-length=110
[DESIGN]
max-args=10
max-attributes=15
max-public-methods=35
# Maximum number of locals for function / method body
max-locals=25
[REPORTS]
output-format=parseable
reports=no