-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
40 lines (37 loc) · 898 Bytes
/
tox.ini
File metadata and controls
40 lines (37 loc) · 898 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
[tox]
envlist = py26, py27, py37, style, docs
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/pyrpo
PYTHONHASHSEED = 3000
HOME = {homedir}
commands =
pytest -v ./tests
deps =
pytest
-r{toxinidir}/requirements.txt
[testenv:style]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/pyrpo
PYTHONHASHSEED = 3000
deps =
-r{toxinidir}/requirements.txt
flake8
commands =
# flake8 ./pyrpo --exit-zero
# flake8 ./tests --exit-zero
# flake8 ./scripts --exit-zero
#python setup.py flake8
flake8 ./pyrpo --exit-zero
[testenv:docs]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/pyrpo
PYTHONHASHSEED = 3000
changedir = {toxinidir}/docs/
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/docs/requirements.txt
commands =
/usr/bin/make html
#sphinx-build -b linkcheck ./ _build/
#sphinx-build -b html ./ ./_build/