Migrate to odlparent 1.8.0-Carbon
[integration/distribution.git] / tox.ini
1 [tox]
2 minversion = 1.6.0
3 envlist = pep8,coala
4 skipsdist = true
5
6 [testenv:coala]
7 basepython = python3
8 deps =
9     coala==0.11
10     coala-bears==0.11
11     # Requests 2.16 breaks dependencies
12     requests<2.16
13 commands =
14     python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
15     coala --non-interactive
16
17 [testenv:pep8]
18 deps =
19     flake8
20 commands = flake8
21
22 [flake8]
23 show-source = True
24 max-line-length = 120
25 # - Select E121, E123, E126, E226, E241, E242 and E704 which are turned OFF
26 #   by default but represent guidelines accepted by us.
27 # - Do not select E133 because it is incompatible with E123 which was
28 #   selected instead.
29 # - It turns out that now all checks except E133 are enabled so the select
30 #   can be simplified to be just "E,W". However a new version could change
31 #   that (select E133 instead of E123) but that should be caught by the
32 #   verify job.
33 select = E,W
34 exclude =
35     .git,
36     .tox,
37     docs/conf.py