-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
102 lines (86 loc) · 2.44 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[MAIN]
disable = C0114, C0209, W0511, W0707, W0718, W1203, W1514, R0801, R0903, R0904, E0401
jobs = 1
suggestion-mode = no
unsafe-load-any-extension = no
py-version = 3.10.12
limit-inference-results = 50
fail-under = 10.0
[REPORTS]
output-format = text
reports = no
evaluation = max(0, 0 if fatal else 10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10))
score = yes
[LOGGING]
logging-modules = logging
logging-format-style = new
[MISCELLANEOUS]
notes = FIXME, XXX, TODO
ignore-path=.venv, docs
[SIMILARITIES]
min-similarity-lines = 6
ignore-comments = yes
ignore-docstrings = yes
ignore-imports = yes
ignore-signatures = yes
[VARIABLES]
init-import = no
dummy-variables-rgx = _$|dummy
allow-global-unused-variables = yes
[FORMAT]
max-line-length = 80
ignore-long-lines = ^\s*(# )?<?https?://\S+>?$
indent-string = ' '
indent-after-paren = 4
[BASIC]
good-names = i,j,k,ex,Run,_
bad-names = foo,bar,baz,toto,tutu,tata
include-naming-hint = no
function-rgx = [a-z_][a-z0-9_]{2,30}$
variable-rgx = [a-z_][a-z0-9_]{2,30}$
const-rgx = (([A-Z_][A-Z0-9_]*)|(__.*__))$
attr-rgx = [a-z_][a-z0-9_]{2,}$
argument-rgx = [a-z_][a-z0-9_]{2,30}$
class-rgx = [A-Z_][a-zA-Z0-9]+$
module-rgx = (([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
method-rgx = [a-z_][a-z0-9_]{2,}$
no-docstring-rgx = __.*__
docstring-min-length = 20
[TYPECHECK]
ignored-classes = SQLObject, optparse.Values, thread._local, _thread._local
generated-members = REQUEST, acl_users, aq_parent, argparse.Namespace
ignore-none = yes
ignore-on-opaque-inference = yes
[SPELLING]
spelling-private-dict-file = .pyenchant_pylint_custom_dict.txt
spelling-store-unknown-words = no
max-spelling-suggestions = 2
[DESIGN]
max-args = 10
max-locals = 25
max-returns = 11
max-branches = 27
max-statements = 100
max-parents = 7
max-attributes = 11
min-public-methods = 2
max-public-methods = 25
max-bool-expr = 5
[CLASSES]
defining-attr-methods = __init__, __new__, setUp, __post_init__
valid-classmethod-first-arg = cls
valid-metaclass-classmethod-first-arg = mcs
exclude-protected = _asdict, _fields, _replace, _source, _make
check-protected-access-in-special-methods = no
[IMPORTS]
allow-wildcard-with-all = no
analyse-fallback-blocks = no
deprecated-modules = regsub, TERMIOS, Bastion, rexec
known-third-party = enchant
[EXCEPTIONS]
overgeneral-exceptions = builtins.Exception
[REFACTORING]
max-nested-blocks = 5
never-returning-functions = sys.exit, argparse.parse_error
[STRING]
check-str-concat-over-line-jumps = no