forked from qutech/QuMADA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
51 lines (45 loc) · 736 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 =
py{39,310,311}
flake8
mypy
report
docs
[tool:pytest]
testpaths = src/tests
addopts =
--cov-report=term
[testenv:py{39,310,311}]
setenv =
COVERAGE_FILE = .coverage.{envname}
deps =
pytest
pytest-cov
pytest-cases
pytest-mock
pytest-qt
commands =
pytest --cov {posargs}
depends =
report: py{39,310,311}
[testenv:report]
skip_install = true
deps = coverage
commands =
coverage combine
coverage report
[testenv:flake8]
deps =
flake8
commands =
flake8 src {posargs}
[testenv:mypy]
deps =
mypy
commands =
mypy src {posargs}
[testenv:docs]
deps =
-rdocs{/}requirements.txt
commands =
sphinx-build docs docs{/}_build -bhtml {posargs}