forked from Yelp/pyramid_zipkin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
32 lines (27 loc) · 804 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
[tox]
envlist = pre-commit, py27, py34, py35, py36, flake8
[testenv]
deps = -rrequirements-dev.txt
commands =
coverage erase
coverage run --source=pyramid_zipkin/ -m pytest -vv {posargs:tests}
coverage report -m --show-missing --fail-under 100
[testenv:pre-commit]
basepython = python3.6
# Remove version contraint once https://gitlab.com/python-devs/importlib_resources/issues/67 is solved
deps = pre-commit<1.12.0
commands = pre-commit {posargs}
[testenv:flake8]
basepython = python3.6
deps = flake8
commands =
flake8 pyramid_zipkin tests
[testenv:docs]
basepython = python3.6
deps = {[testenv]deps}
sphinx
changedir = docs
commands = sphinx-build -b html -d build/doctrees source build/html
[flake8]
exclude = .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,docs
max_line_length = 82