-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.cfg
61 lines (47 loc) · 937 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[flake8]
max-line-length = 120
ignore=F405,F403,W503
[isort:settings]
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=88
[tox:tox]
envlist = clean,py38,py39,py310,report
[testenv]
changedir = .
deps =
pytest
pytest-cov
{py38,py39,py310}: clean
report: py38,py39,py310
commands =
pytest --cov --cov-append --cov-config=setup.cfg --cov-report=term-missing --doctest-modules --doctest-glob="README.rst" --no-cov-on-fail
[testenv:py{38,39,310}]
depends =
clean
[testenv:report]
deps = coverage
skip_install = true
depends =
py38
py39
py310
commands =
coverage report --rcfile=setup.cfg
coverage html --rcfile=setup.cfg
[testenv:clean]
deps = coverage
skip_install = true
commands =
coverage erase --rcfile=setup.cfg
[coverage:run]
branch = true
include =
sneklang.py
[coverage:report]
show_missing = true
fail_under = 90
include =
sneklang.py