Fix docs to use real function name
[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     pygments~=2.3.1
13     requests==2.15.1
14 commands =
15     python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
16     coala --non-interactive
17
18 [testenv:docs]
19 deps = -rdocs/requirements.txt
20 commands =
21     sphinx-build -W -n -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
22
23 [testenv:tidy]
24 basepython = python2
25 deps = robotframework
26 commands = python ./tools/robot_check/tidytool.py diff csit tools
27
28 [testenv:pep8]
29 basepython = python2
30 deps =
31     flake8~=3.5.0
32 commands = flake8
33
34 [flake8]
35 show-source = True
36 max-line-length = 120
37
38 # # - Select E121, E123, E126, E226, E241, E242 and E704 which are turned OFF
39 # #   by default but represent guidelines accepted by us.
40 # # - Do not select E133 because it is incompatible with E123 which was
41 # #   selected instead.
42 # - It turns out that now all checks except E133 are enabled so the select
43 #   can be simplified to be just "E,W". However a new version could change
44 #   that (select E133 instead of E123) but that should be caught by the
45 #   verify job.
46 select = E,W
47 ignore = E722 # as of aprox 10/25 some update/change has caused existing code to fail on E722
48 exclude =
49     .git,
50     .tox,
51     docs/conf.py