-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.cfg
More file actions
60 lines (60 loc) · 1.24 KB
/
setup.cfg
File metadata and controls
60 lines (60 loc) · 1.24 KB
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
[flake8]
# NOTE:
# * http://www.pydocstyle.org/en/latest/error_codes.html
# * https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
# * http://flake8.pycqa.org/en/latest/user/error-codes.html
#
# ---
# E402: module level import not at top of file
# F403: 'from module import *' used; unable to detect undefined names
# F405: name may be undefined, or defined from star imports: module
# F841: local variable name is assigned to but never used
# D100: Missing docstring in public module
# D101: Missing docstring in public class
# D102: Missing docstring in public method
# D103: Missing docstring in public function
# D104: Missing docstring in public package
# D105: Missing docstring in magic method
# D106: Missing docstring in public nested class
# D107: Missing docstring in __init__
# D401: First line should be in imperative mood; try rephrasing
# ---
ignore =
E402,
F403,
F405,
F841,
D100,
D101,
D102,
D103,
D104,
D105,
D106,
D107,
D401
max-complexity = 9
exclude =
.git/*,
.cache/*,
*.egg-info/*,
__pycache__/*,
venv*,
static/*,
doc/*,
tmp/*,
test/data/*,
*.yml,
*.png,
*.txt,
*.json,
*.md
*.cfg
*.ini
.gitignore,
.env*,
.pylintrc,
Dockerfile,
Makefile,
CHANGELOG,
LICENSE