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