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