-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.cfg
71 lines (61 loc) · 1.47 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
69
70
71
[bumpversion]
current_version = 2.0.20
commit = True
tag = True
[bumpversion:file:setup.py]
parse = version\s*=\s*['"](?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)['"]
[bumpversion:file:topalias/__init__.py]
parse = version\s*=\s*['"](?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)['"]
[bumpversion:file:pyproject.toml]
parse = version\s*=\s*['"](?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)['"]
[bdist_wheel]
universal = 1
[flake8]
format = wemake
show-source = True
statistics = False
doctests = True
max-complexity = 6
max-line-length = 120
select = B,C,E,F,W,T4
i-control-code = False
ignore = D100,D104,D106,D401,W504,X100,RST303,RST304,DAR103,DAR203,E203,E266,E501,W503,WPS410,WPS305,WPS421,WPS336,WPS317,WPS111,WPS226,WPS323,WPS210,WPS429,WPS220,WPS231,C901,WPS441,WPS229,WPS232,WPS202,WPS22,WPS221,WPS461
exclude =
.git
__pycache__
.venv
.eggs
*.egg
docs/conf.py
old,build
dist
per-file-ignores =
tests/*.py: S101, WPS226, WPS432
[aliases]
test = pytest
[tool:pytest]
testpaths = tests/
norecursedirs = *.egg .eggs dist build docs .tox .git __pycache__
addopts =
--strict
--tb=short
--doctest-modules
--cov=topalias
--cov-report=term:skip-covered
--cov-report=html
--cov-branch
--cov-fail-under=50
[isort]
include_trailing_comma = true
use_parentheses = true
default_section = FIRSTPARTY
multi_line_output = 3
line_length = 120
force_grid_wrap = 0
force_to_top = topalias
[darglint]
strictness = long
[doc8]
ignore-path = docs/_build
max-line-length = 80
sphinx = True