forked from lumapps/dep-check
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pylintrc
48 lines (35 loc) · 1.25 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
[MESSAGES CONTROL]
disable=bad-continuation, # Delegate format to black
duplicate-bases, # typing.Generic can be used multiple time as base (see. https://github.com/PyCQA/pylint/issues/2717)
duplicate-code, # The entry-points are exepcted to be very similar
too-many-ancestors, # Incompatible with type hints
unsubscriptable-object, # Incompatible with type hints
ungrouped-imports, # Delegate import order to isort
wrong-import-order, # Delegate import order to isort
missing-docstring # Prefer quality to quantity
[REPORTS]
output-format=colorized
[REFACTORING]
max-nested-blocks=3
[FORMAT]
expected-line-ending-format=LF
[BASIC]
class-rgx=[A-Z_][a-zA-Z0-9]+(_X_[A-Z][a-zA-Z0-9]*)*$
good-names=id
[DESIGN]
max-attributes=10
max-branches=5
max-locals=10
max-parents=2 # ignored at the moment, too-many-ancestors is disabled
max-public-methods=10
max-returns=2
max-statements=30
min-public-methods=1
[SPELLING]
max-spelling-suggestions=4
spelling-dict=en_US
spelling-private-dict-file=.circleci/spellcheck_private_dictionary
[CLASSES]
defining-attr-methods=__init__,
__new__,
setup_method