-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
59 lines (48 loc) · 1.18 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
[flake8]
ignore = E231, W503, D401
# Excludes due to known issues or incompatibilities with black:
# W503: https://github.com/psf/black/search?q=W503&unscoped_q=W503
# E231: https://github.com/psf/black/issues/1202
# D401: First line should be in imperative mood; try rephrasing
statistics = 1
# black official is 88
max-line-length = 88
exclude =
.nox
[bdist_wheel]
universal = 1
[tool:pytest]
testpaths = tests
addopts =
-vvv
--cov-report term-missing
--cov=tests
--cov=ikt
--cov-config=setup.cfg
--no-cov-on-fail
# Coverage configuration start
[coverage:run]
branch = False
source = .
include =
ikt/*,
tests/*
[coverage:report]
sort = Cover
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about missing debug-only code:
def __repr__
def __str__
if self\.debug
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:
ignore_errors = True
show_missing = True
# Coverage configuration end