forked from mapproxy/mapproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (32 loc) · 775 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
[tox]
envlist = py38,docs
[testenv]
commands =
pytest mapproxy
deps = -rrequirements-tests.txt
[testenv:hash]
setenv =
PYTHONHASHSEED = 100
[testenv:docs]
changedir = doc
basepython = python2.7
sitepackages = True
deps =
sphinx==1.2.2
sphinx-bootstrap-theme==0.4.7
commands =
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
sphinx-build -b latex -d {envtmpdir}/doctrees . {envtmpdir}/latex
make -C {envtmpdir}/latex all-pdf
rsync -a --delete-after {envtmpdir}/html/ {envtmpdir}/latex/MapProxy.pdf [email protected]:/opt/www/mapproxy.org/docs/nightly/
[flake8]
exclude =
.git,
.idea,
build,
dist,
MapProxy.egg-info
max-line-length = 120
extend-ignore =
# continuation line under-indented for visual indent
E128