summaryrefslogtreecommitdiff
path: root/testenv/linters/pylint.ini
blob: 1f333c6f696c9240f7adf39c1203b06fb2889cd7 (plain)
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
61
62
63
64
65
[MASTER]
ignore = .git
extension-pkg-whitelist =
	setproctitle,

[DESIGN]
min-public-methods = 0
max-args = 10

[TYPECHECK]
ignored-classes=
	AioQueue,

[MESSAGES CONTROL]
disable =
	file-ignored,
	locally-disabled,
	fixme,
	missing-docstring,
	no-init,
	no-self-use,
	superfluous-parens,
	abstract-class-not-used,
	abstract-class-little-used,
	duplicate-code,
	bad-continuation,
	bad-whitespace,
	star-args,
	broad-except,
	redundant-keyword-arg,
	wrong-import-order,
	too-many-ancestors,
	no-else-return,
	len-as-condition,

[REPORTS]
msg-template = {symbol} -- {path}:{line}({obj}): {msg}

[FORMAT]
max-line-length = 160

[BASIC]
# List of builtins function names that should not be used, separated by a comma
bad-functions =

# Good variable names which should always be accepted, separated by a comma
good-names = _, __, x, y

# Regular expression matching correct method names
method-rgx = [a-z_][a-z0-9_]{2,50}$

# Regular expression matching correct function names
function-rgx = [a-z_][a-z0-9_]{2,50}$

# Regular expression which should only match correct module level names
const-rgx = ([a-zA-Z_][a-zA-Z0-9_]*)$

# Regular expression which should only match correct argument names
argument-rgx = [a-z_][a-z0-9_]{1,30}$

# Regular expression which should only match correct variable names
variable-rgx = [a-z_][a-z0-9_]{1,30}$

# Regular expression which should only match correct instance attribute names
attr-rgx = [a-z_][a-z0-9_]{1,30}$