-
Notifications
You must be signed in to change notification settings - Fork 28
/
.pylintrc
71 lines (71 loc) · 1.98 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
[MAIN]
analyse-fallback-blocks=no
clear-cache-post-run=no
ignore=docs
ignore-paths=ipie/lib,ipie/legacy
ignore-patterns=(.)*_test\.py,test_(.)*\.py
limit-inference-results=100
argument-naming-style=snake_case
attr-naming-style=snake_case
class-attribute-naming-style=any
class-const-naming-style=UPPER_CASE
class-naming-style=PascalCase
const-naming-style=UPPER_CASE
docstring-min-length=100
function-naming-style=snake_case
method-naming-style=snake_case
module-naming-style=snake_case
max-spelling-suggestions=4
spelling-ignore-comment-directives=fmt: on,fmt: off,noqa:,noqa,nosec,isort:skip,mypy:
allow-global-unused-variables=yes
max-line-length=100
output-format=colorized
disable=all
enable=
no-member,
# renable once classes are tidied
# attribute-defined-outside-init,
consider-using-f-string,
useless-object-inheritance,
unused-variable,
line-too-long,
trailing-whitespace,
assert-on-tuple,
bad-indentation,
bad-option-value,
bad-reversed-sequence,
bad-super-call,
continue-in-finally,
dangerous-default-value,
duplicate-argument-name,
expression-not-assigned,
inconsistent-mro,
init-is-generator,
lost-exception,
mixed-line-endings,
no-value-for-parameter,
nonexistent-operator,
trailing-whitespace,
undefined-variable,
unexpected-keyword-arg,
unused-import,
unused-wildcard-import,
wildcard-import,
wrong-import-order,
wrong-import-position,
reimported,
no-member,
import-error,
# TODO: Sanitize this.
# protected-access,
consider-using-generator,
simplifiable-if-statement,
inconsistent-return-statements,
arguments-renamed,
arguments-differ,
unnecessary-comprehension,
unnecessary-pass,
no-else-return,
# https://github.com/pylint-dev/pylint/issues/2178
# ignore urls
ignore-long-lines=^\s*(# )?<?https?://\S+>?$|^\s*(\w*\s*=\s*)?(\"|\').*(\"|\'),?\s*$