-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtox.ini
54 lines (49 loc) · 831 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
52
53
54
[tox]
envlist = qa,py{310,311,312}{,-networkx}-{rel,git}
skip_missing_interpreters = True
isolated_build = True
[testenv]
deps =
git: https://github.com/pkgcore/pkgcheck/archive/master.tar.gz
extras =
test
networkx: depgraph
commands =
pytest -vv {posargs}
[testenv:qa]
basepython = python3
ignore_errors = True
skip_install = True
deps =
mypy
pycodestyle
pyflakes
types-requests
commands =
pyflakes {posargs:nattka test}
mypy {posargs:nattka test}
pycodestyle {posargs:nattka test}
[testenv:doc]
basepython = python3
skip_install = True
deps =
sphinx
commands =
make -C doc html
[testenv:upload]
skip_install = True
deps =
build
twine
commands =
python -m build -s -w
twine upload dist/*
[testenv:codecov]
basepython = python3
skip_install = True
deps =
codecov
passenv =
CODECOV_TOKEN
commands =
codecov