-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
54 lines (46 loc) · 899 Bytes
/
setup.cfg
File metadata and controls
54 lines (46 loc) · 899 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
[coverage:run]
branch = True
source =
gendiff,
omit =
*/__init__.py,
[coverage:report]
exclude_lines =
if __name__ == .__main__.:
[tool:pytest]
addopts = -ra -vv --cache-clear --cov --cov-report xml
console_output_style = progress
log_cli = True
norecursedirs = __pycache__
testpaths = tests
[flake8]
accept-encodings = utf-8
max-complexity = 4
statistics = False
max-line-length = 80
doctests = True
enable-extensions = G
isort-show-traceback = True
exclude =
.git,
__pycache__,
.venv,
tests/,
ignore =
# use `noqa` comments
WPS400,
DAR101,
DAR201,
# implicit string concatenation
WPS326,
# use print()
WPS421,
per-file-ignores =
# `init` files not requred to contain docstrings
__init__.py: D104, WPS412,
# flake8-quotes
inline-quotes = double
multiline-quotes = double
docstring-quotes = double
[isort]
force_single_line = True