Bump upstreams
[integration/distribution.git] / tox.ini
1 [tox]
2 minversion = 1.6.0
3 envlist =
4     coala,
5     docs,
6     docs-linkcheck,
7     pep8
8 skipsdist = true
9
10 [testenv:docs]
11 allowlist_externals = echo
12 deps = -rdocs/requirements.txt
13 commands =
14     sphinx-build -W -b html -n -W -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
15     echo "Generated docs available in {toxinidir}/docs/_build/html"
16
17 [testenv:docs-linkcheck]
18 deps = -rdocs/requirements.txt
19 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
20
21 [testenv:pep8]
22 deps =
23     flake8
24 commands = flake8
25
26 [flake8]
27 show-source = True
28 max-line-length = 120
29 # - Select E121, E123, E126, E226, E241, E242 and E704 which are turned OFF
30 #   by default but represent guidelines accepted by us.
31 # - Do not select E133 because it is incompatible with E123 which was
32 #   selected instead.
33 # - It turns out that now all checks except E133 are enabled so the select
34 #   can be simplified to be just "E,W". However a new version could change
35 #   that (select E133 instead of E123) but that should be caught by the
36 #   verify job.
37 select = E,W
38 exclude =
39     .git,
40     .tox,
41     docs/conf.py