-
Notifications
You must be signed in to change notification settings - Fork 95
/
.pylintrc
49 lines (39 loc) · 1.38 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
[MASTER]
ignore=.venv,setup.py
[DESIGN]
# Maximum number of characters on a single line.
max-line-length=160
# Good variable names which should always be accepted, separated by a comma
good-names=i,e
# Maximum number of branch for function / method body
max-branches=15
# Maximum number of arguments for function / method
max-args=10
# Variable naming style
variable-rgx=([a-z_][a-z0-9_]{1,31}|[a-zA-Z0-9_]{1})$
# Argument naming style
argument-rgx=([a-z_][a-z0-9_]{1,31}|[a-zA-Z0-9_]{1})$
# Attribute naming style
attr-rgx=([a-z_][a-z0-9_]{1,31}|[a-zA-Z0-9_]{1})$
# Maximum number of public methods per class
max-public-methods=30
# Maximum number of locals for function / method body
max-locals=20
# Make docstring compulsory for all functions
no-docstring-rgx=$^
[ELIF]
# Maximum number of nested blocks for function/method body
max-nested-blocks=8
[SIMILARITIES]
# Minimum lines number of a similarity.
min-similarity-lines=15
# Ignore comments when computing similarities.
ignore-comments=yes
# Ignore docstrings when computing similarities.
ignore-docstrings=yes
# Ignore imports when computing similarities.
ignore-imports=yes
[MESSAGES CONTROL]
#TODO: DEV - Fix these one day: broad-except, fixme
disable=logging-format-interpolation, logging-fstring-interpolation, broad-except, fixme, missing-class-docstring, missing-module-docstring, missing-function-docstring
extension-pkg-whitelist=lxml