OLD | NEW |
1 [tox] | 1 [tox] |
2 envlist = py27, py35, py36, pypy, coverage | 2 envlist = py27, py35, py36, pypy, coverage |
3 | 3 |
4 [testenv] | 4 [testenv] |
5 commands = | 5 commands = |
6 py.test tests | 6 py.test tests |
7 flake8 abp tests setup.py | 7 flake8 abp tests setup.py |
8 deps = | 8 deps = |
9 pytest | 9 pytest |
10 mock | 10 mock |
11 flake8 | 11 flake8 |
12 pep8-naming | 12 pep8-naming |
13 hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8
-abp | 13 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo |
14 | 14 |
15 [testenv:coverage] | 15 [testenv:coverage] |
16 commands = | 16 commands = |
17 py.test --cov=abp tests | 17 py.test --cov=abp tests |
18 deps = | 18 deps = |
19 pytest-cov | 19 pytest-cov |
20 mock | 20 mock |
21 | 21 |
22 # We have to install our package in development mode | 22 # We have to install our package in development mode |
23 # so that pytest-cov can find the .coverage file. | 23 # so that pytest-cov can find the .coverage file. |
24 usedevelop = true | 24 usedevelop = true |
OLD | NEW |