-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
56 lines (40 loc) · 949 Bytes
/
setup.cfg
File metadata and controls
56 lines (40 loc) · 949 Bytes
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
[flake8]
format = "wemake"
show-source = true
# Plugins:
max-line-length = 80
max-complexity = 6
# darglint:
docstring-style = "sphinx" # "numpy"
# Violations:
ignore = "D100,D104,D401,W504,RST303,RST304,DAR103,DAR203"
per-file-ignores =
# There are multiple `assert`s in tests, we allow them:
tests/*.py: S101
[isort]
profile = "wemake"
include_trailing_comma = true
use_parentheses = true
multi_line_output = 3
[darglint]
strictness = long
[tool.nitpick.files]
comma_separated_values = ["flake8.ignore"]
[tool.flakehell]
format = "grouped"
show_source = true
statistics = false
doctests = true
enable_extensions = "G"
accept_encodings = "utf-8"
max_complexity = 6
max_line_length = 80
ignore = "D100, D104, D401, W504, RST303, RST304, DAR103, DAR203"
[tool.flakehell.plugins]
"flake8-*" = ["+*"]
mccabe = ["+*"]
nitpick = ["+*"]
"pep8-naming" = ["+*"]
pycodestyle = ["+*"]
pyflakes = ["+*"]
"wemake-python-styleguide" = ["+*"]