-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pylintrc
67 lines (44 loc) · 1.47 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
61
62
63
64
65
[tool.pylint.main]
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
# number of processors available to use, and will cap the count on Windows to
# avoid hangs.
jobs = 0
# When enabled, pylint would attempt to guess common misconfiguration and emit
# user-friendly hints instead of false-positive error messages.
suggestion-mode = true
[tool.pylint.basic]
argument-naming-style = snake_case
attr-naming-style = snake_case
# attr-rgx =
bad-names = ["foo", "bar", "baz", "toto", "tutu", "tata", "l", "O", "I"]
# bad-names-rgxs =
class-attribute-naming-style = any
# class-attribute-rgx =
class-const-naming-style = UPPER_CASE
# class-const-rgx =
class-naming-style = PascalCase
# class-rgx =
const-naming-style = UPPER_CASE
# const-rgx =
function-naming-style = snake_case
# function-rgx =
# Good variable names which should always be accepted, separated by a comma.
good-names = ["i", "j", "k", "f", "ex", "Run", "_"]
# good-names-rgxs =
# Include a hint for the correct naming format with invalid-name.
# include-naming-hint =
inlinevar-naming-style = any
# inlinevar-rgx =
method-naming-style = snake_case
#method-rgx = "[a-z]+"
module-naming-style = snake_case
#module-rgx = "[a-z]+"
# Regular expression which should only match function or class names that do not
# require a docstring.
no-docstring-rgx = "^_"
variable-naming-style = snake_case
#variable-rgx = "[a-z]+"
[tool.pylint."messages control"]
disable = E0401
[tool.pylint.design]
max-args = 8