-
Notifications
You must be signed in to change notification settings - Fork 10
/
tox.ini
54 lines (48 loc) · 1.18 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[tox]
envlist = py27, py34, flake8, isort, pep257, docs, manifest
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/hamster_cli
whitelist_externals = make
passenv =
SPHINXOPTS_BUILD
SPHINXOPTS_LINKCHECK
commands =
pip install -r requirements/dev.pip
make coverage
[testenv:flake8]
basepython = python3.4
deps =
flake8==2.5.4
flake8-debugger==1.4.0
flake8-print==2.0.2
pep8-naming==0.3.3
skip_install = True
commands = flake8 setup.py hamster_cli/ tests/
[testenv:pep257]
basepython = python3.4
skip_install = True
deps =
pep257==0.7.0
commands =
pep257 setup.py hamster_cli/ tests/
[testenv:isort]
basepython = python3.4
deps = isort==4.2.5
skip_install = True
commands =
isort --check-only --recursive --verbose setup.py hamster_cli/ tests/
[testenv:manifest]
basepython = python3.4
deps = check-manifest==0.31
skip_install = True
commands =
check-manifest -v
[testenv:docs]
basepython = python3.4
deps = doc8==0.7.0
commands =
pip install -r requirements/docs.pip
make docs BUILDDIR={envtmpdir} SPHINXOPTS={env:SPHINXOPTS_BUILD:''}
make --directory=docs linkcheck BUILDDIR={envtmpdir} SPHINXOPTS={env:SPHINXOPTS_LINKCHECK:}
doc8