Left: | ||
Right: |
OLD | NEW |
---|---|
1 [tox] | 1 [tox] |
2 envlist = py27, py35, py36, pypy, coverage | 2 envlist = py27,py35,py36,pypy,coverage,flake8 |
Sebastian Noack
2017/10/11 20:28:51
In no other tox.ini, we have spaces after the comm
| |
3 | |
4 [flake8] | |
5 ignore = D1 | |
3 | 6 |
4 [testenv] | 7 [testenv] |
5 commands = | |
6 py.test tests | |
7 flake8 abp tests setup.py | |
8 deps = | 8 deps = |
9 pytest | 9 pytest |
10 mock | 10 mock |
11 flake8 | 11 commands = |
12 pep8-naming | 12 py.test tests |
Sebastian Noack
2017/10/11 20:28:51
In no other tox.ini, we list commands before deps.
| |
13 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake 8-eyeo | |
14 | 13 |
15 [testenv:coverage] | 14 [testenv:coverage] |
16 commands = | |
17 py.test --cov=abp tests | |
18 deps = | 15 deps = |
19 pytest-cov | 16 pytest-cov |
20 mock | 17 mock |
18 commands = | |
19 py.test --cov=abp tests | |
21 | 20 |
22 # We have to install our package in development mode | 21 # We have to install our package in development mode |
23 # so that pytest-cov can find the .coverage file. | 22 # so that pytest-cov can find the .coverage file. |
24 usedevelop = true | 23 usedevelop = true |
24 | |
25 [testenv:flake8] | |
Sebastian Noack
2017/10/11 20:28:51
In all other tox.ini that have more than one teste
| |
26 basepython = python3 | |
27 skip_install = true | |
28 deps = | |
29 flake8 | |
30 flake8-docstrings | |
Sebastian Noack
2017/10/11 20:28:51
Using flake8-docstrings is now part of our coding
| |
31 pep8-naming | |
32 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake 8-eyeo | |
33 commands = | |
34 flake8 | |
OLD | NEW |