-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtox.ini
39 lines (33 loc) · 865 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
[tox]
envlist = buildfixture,{py27,py34,py35,py36}-{typing351,typing352},docs
[testenv]
deps =
-e.[tests]
typing351: typing<3.5.2
typing352: typing>=3.5.2
commands=
pip install -e {env:FIXTURE_PATH:{distdir}/schema_fixture/}
pytest -v
[testenv:buildfixture]
skipinstall = true
deps =
passenv = *
whitelist_externals =
{env:NIRUM:nirum}
commands =
{env:NIRUM:nirum} -o {env:FIXTURE_PATH:{distdir}/schema_fixture/} -t python tests/schema-fixture/
[testenv:docs]
basepython = python3
deps =
docutils
Pygments
commands =
rst2html.py --strict CHANGES.rst
rst2html.py --strict README.rst
python3 setup.py --long-description | rst2html.py --strict
[pytest]
addopts = --ff --flake8
[flake8]
exclude = .env, .tox, tests/py2_nirum.py, tests/py3_nirum.py
import-order-style = spoqa
application-import-names = nirum, tests