-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
55 lines (49 loc) · 984 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
55
[tox]
envlist = check, py34, py35, py36, report
[testenv]
deps = -r{toxinidir}/test-requirements.txt
commands =
coverage run -m pytest tests
mv .coverage .coverage.{envname}
whitelist_externals =
mv
[testenv:check]
skip_install = true
commands =
flake8 cryptio tests
coverage erase
basepython =
python3.6
[testenv:report]
skip_install = true
commands =
coverage combine
coverage report
basepython =
python3.6
[testenv:docs]
changedir = docs
deps = -r{toxinidir}/doc-requirements.txt
basepython =
python3.6
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:pypi]
skip_install = true
deps =
twine
passenv =
TWINE_USERNAME
TWINE_PASSWORD
commands =
rm -rf dist/
python setup.py sdist bdist_wheel
twine upload dist/*
basepython =
python3.6
whitelist_externals =
rm
[flake8]
ignore = I201, N801, E265, E501
import-order-stype = google
application-import-names = cryptio