forked from markokr/rarfile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
45 lines (39 loc) · 921 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
[tox]
envlist = lint,docs,py3-pycryptodome,py3-cryptography,py3
[package]
name = rarfile
deps =
pycryptodome: pycryptodome==3.9.8
cryptography: cryptography==2.9
test_deps =
coverage==5.2.1
pytest==5.4.3
pytest-cov==2.10.0
pytest-xdist==1.34.0
doc_deps =
sphinx==3.1.2
docutils==0.16
lint_deps =
pylint==2.5.3
[testenv]
deps =
{[package]deps}
{[package]test_deps}
commands =
pytest --cov=rarfile --cov-report=term --cov-report=html:{toxinidir}/cover/{envname} {posargs}
sh ./test/run_dump.sh {envpython} {envname}
whitelist_externals = sh
[testenv:lint]
basepython = python3
deps =
{[package]deps}
{[package]lint_deps}
{[package]test_deps}
commands =
pylint rarfile.py dumprar.py test
[testenv:docs]
basepython = python3
deps = {[package]doc_deps}
changedir = doc
commands =
sphinx-build -q -W -b html -d {envtmpdir}/doctrees . ../tmp/dochtml