Pin requests==2.15.1 for tox coala
[integration/test.git] / tox.ini
1 [tox]
2 minversion = 1.6.0
3 envlist = coala,pep8,tidy
4 # TODO: Include docs when it starts performing strict checks.
5 skipsdist = true
6
7 [testenv:coala]
8 basepython = python3
9 deps =
10     coala==0.11.0
11     coala-bears==0.11.0
12     requests==2.15.1
13 commands =
14     python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
15     coala --non-interactive
16
17 [testenv:docs]
18 deps = sphinx
19 commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html
20
21 [testenv:tidy]
22 deps = robotframework
23 commands = python ./tools/robot_check/tidytool.py diff csit tools
24
25 [testenv:pep8]
26 deps =
27     flake8
28 commands = flake8
29
30 [flake8]
31 show-source = True
32 max-line-length = 120
33
34 # # - Select E121, E123, E126, E226, E241, E242 and E704 which are turned OFF
35 # #   by default but represent guidelines accepted by us.
36 # # - Do not select E133 because it is incompatible with E123 which was
37 # #   selected instead.
38 # - It turns out that now all checks except E133 are enabled so the select
39 #   can be simplified to be just "E,W". However a new version could change
40 #   that (select E133 instead of E123) but that should be caught by the
41 #   verify job.
42 select = E,W
43 exclude =
44     .git,
45     .tox,
46     docs/conf.py