-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.cfg
68 lines (63 loc) · 1.27 KB
/
setup.cfg
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
[flake8]
accept-encodings = utf-8
max-complexity = 6
max-local-variables = 7
max-string-usages = 5
statistics = False
max-line-length = 80
doctests = True
enable-extensions = G
isort-show-traceback = True
exclude =
.git
__pycache__
.venv
.eggs
*.egg
.vscode
per-file-ignores =
tests/*.py:
# Allow asserts
S101,
# Allow name shadowing
WPS442,
# Allow multilines comments
WPS428,
WPS462,
# Sorry, it's Django
ignore =
# Missing parameter(s) in Docstring
DAR101,
# Missing "Returns" in Docstring
DAR201,
# Missing "Yields" in Docstring
DAR301,
# Missing exception(s) in Raises section
DAR401,
# Missing docstring in public module
D100,
# Missing docstring in public class
D101,
# Missing docstring in public method
D102,
# Missing docstring in public function
D103,
# Missing docstring in public package
D104,
# Missing docstring in public nested class
D106,
# Docstrings
D205,
D400,
D403,
# Allow magic numbers
WPS432,
# Allow zero division
WPS344,
[isort]
# See https://github.com/timothycrosley/isort#multi-line-output-modes
multi_line_output = 3
include_trailing_comma = true
default_section = FIRSTPARTY
# Should be: 80 - 1
line_length = 79