forked from ScottSnapperLab/coordinator_data_tasks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (30 loc) · 627 Bytes
/
tox.ini
File metadata and controls
37 lines (30 loc) · 627 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
[tox]
envlist = py36, flake8, docs
[flake8]
max-line-length = 120
max-complexity = 10
[travis]
python =
3.6: py36
[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 coordinator_data_tasks tests
[testenv:docs]
basepython = python
changedir = docs
deps =
sphinx
sphinx_rtd_theme
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements.dev.txt
-r{toxinidir}/requirements.pip.txt
-r{toxinidir}/requirements.txt
commands =
pip install -U pip
pip install {toxinidir}
pytest