LEFT | RIGHT |
1 [tox] | 1 [tox] |
2 envlist = py{27,35,36} | 2 envlist = py{27,35,36},flake8 |
3 skipsdist = true | 3 skipsdist = true |
4 | 4 |
5 [flake8] | 5 [flake8] |
6 per-file-ignores = | 6 per-file-ignores = |
7 src/__init__.py : D104 | 7 src/__init__.py : D104 |
8 | 8 |
9 [testenv] | 9 [testenv] |
10 setenv = | 10 setenv = |
11 PYTHONPATH = {toxinidir} | 11 PYTHONPATH = {toxinidir} |
12 deps = | 12 deps = |
13 jinja2 | 13 jinja2 |
| 14 pytest |
| 15 pytest-cov |
| 16 commands = |
| 17 pytest tests --cov-config tox.ini --cov-report html --cov-report term-missin
g --cov=src |
| 18 |
| 19 [testenv:flake8] |
| 20 basepython = python3 |
| 21 deps = |
14 flake8 | 22 flake8 |
15 flake8-docstrings | 23 flake8-docstrings |
16 flake8-per-file-ignores | 24 flake8-per-file-ignores |
17 pep8-naming | 25 pep8-naming |
18 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo | 26 ../flake8-eyeo |
19 pytest | |
20 pytest-cov | |
21 commands = | 27 commands = |
22 pytest tests --cov-config tox.ini --cov-report html --cov-report term-missin
g --cov=src | 28 flake8 src tests |
23 flake8 src | |
LEFT | RIGHT |