forked from Yelp/firefly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
40 lines (34 loc) · 834 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
[tox]
envlist = py
[testenv]
deps = -rrequirements-dev.txt
[testenv:py]
deps = {[testenv]deps}
commands =
testify {posargs:tests}
# TODO: enable and bring into compliance when we're in a cheery PEP8, tabs to spaces, lazy friday sorta mood
#flake8 firefly
#flake8 tests
#flake8 setup.py
[testenv:lint]
deps = {[testenv]deps}
pylint
commands =
pylint --rcfile=.pylintrc foo
pylint --rcfile=.pylintrc tests
[testenv:cover]
deps = {[testenv:py]deps}
coverage
commands =
coverage erase
coverage run {envbindir}/testify {posargs:tests}
coverage combine
coverage report --omit=.tox/*,tests/*,/usr/share/pyshared/*,/usr/lib/pymodules/* -m
[testenv:docs]
deps = {[testenv:py]deps}
sphinx
changedir = docs
commands = sphinx-build -b html -d build/doctrees . build/html
[testenv:devenv]
envdir = virtualenv_run
commands =