-
Notifications
You must be signed in to change notification settings - Fork 20
/
tox.ini
51 lines (44 loc) · 882 Bytes
/
tox.ini
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
[tox]
envlist=begin,py{38,39,310,311}
[testenv:dev]
commands =
envdir = venv
deps=
pre-commit>=1.11.0
coverage
tox
basepython = python3.8
usedevelop = True
[testenv:begin]
commands = coverage erase
[testenv]
changedir=tests/
deps=
coverage
commands=
coverage run -m pytest -v
coverage report --omit="*/.tox/*,*/test_functional_workflow.py" --fail-under=90
usedevelop = True
[testenv:linting]
skip_install = True
basepython = python3
deps = pre-commit>=1.11.0
commands = pre-commit run --all-files --show-diff-on-failure {posargs:}
[testenv:release]
changedir=
decription = new release
basepython = python3.8
skipsdist = True
usedevelop = True
passenv = *
[testenv:docs]
changedir = docs
skipsdist = True
usedevelop = True
deps = sphinx
commands =
sphinx-build -b html source/ build/
[pytest]
filterwarnings =
error
ignore::ResourceWarning