forked from radiorabe/klangbecken
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
40 lines (33 loc) · 950 Bytes
/
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
#######################################################################
[isort]
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
combine_as_imports=True
line_length=88
#######################################################################
[flake8]
extend-ignore=E203
max-line-length=88
exclude=.venv,.tox
max-complexity=10
#######################################################################
[tox:tox]
skip_missing_interpreters = True
envlist = begin, py39, py310, py311, flake8, coverage
[testenv:begin]
commands = coverage erase
[testenv]
deps = -rrequirements-test.txt
commands = coverage run -m unittest discover
[testenv:flake8]
commands = flake8 .
[testenv:coverage]
commands = coverage report
#######################################################################
[coverage:report]
include=klangbecken/*.py
ignore_errors = True
show_missing = True
# 100% of the code must be covered by unit tests
fail_under = 100