forked from YelpArchive/pushmanager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
48 lines (40 loc) · 984 Bytes
/
tox.ini
File metadata and controls
48 lines (40 loc) · 984 Bytes
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
[tox]
envlist = py26,py27
[testenv]
deps = -rrequirements-dev.txt
setenv =
SERVICE_ENV_CONFIG_PATH = config.yaml.example
commands =
testify {posargs:pushmanager.tests}
flake8 pushmanager
flake8 pushmanager/tests
flake8 setup.py
[testenv:lint]
deps = {[testenv]deps}
pylint
commands =
pylint --rcfile=.pylintrc pushmanager
pylint --rcfile=.pylintrc pushmanager/tests
[testenv:cover]
deps = {[testenv]deps}
commands =
coverage erase
coverage run -m testify.test_program {posargs:pushmanager.tests}
coverage combine
coverage report --omit=.tox/*,tests/*,/usr/share/pyshared/*,/usr/lib/pymodules/* -m
[testenv:docs]
deps = {[testenv]deps}
sphinx
changedir = docs
commands = sphinx-build -b html -d build/doctrees source build/html
[testenv:devenv]
envdir = virtualenv_run
commands =
[testenv:flake8]
deps = flake8
commands =
flake8 pushmanager
flake8 pushmanager/tests
flake8 setup.py
[flake8]
max-line-length = 120