Migrate Get Requests invocations(libraries)
[integration/test.git] / tox.ini
1 [tox]
2 minversion = 1.6.0
3 envlist = coala,pep8,pre-commit
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:pre-commit]
24 deps = pre-commit
25 commands =
26     pre-commit install
27     pre-commit run --all-files
28
29 [testenv:pep8]
30 basepython = python2
31 deps =
32     flake8~=3.5.0
33 commands = flake8
34
35 [flake8]
36 show-source = True
37 max-line-length = 120
38
39 # # - Select E121, E123, E126, E226, E241, E242 and E704 which are turned OFF
40 # #   by default but represent guidelines accepted by us.
41 # # - Do not select E133 because it is incompatible with E123 which was
42 # #   selected instead.
43 # - It turns out that now all checks except E133 are enabled so the select
44 #   can be simplified to be just "E,W". However a new version could change
45 #   that (select E133 instead of E123) but that should be caught by the
46 #   verify job.
47 select = E,W
48 ignore = E722 # as of aprox 10/25 some update/change has caused existing code to fail on E722
49 exclude =
50     .git,
51     .tox,
52     docs/conf.py