| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 1 [tox] | 1 [tox] |
| 2 envlist = py27, py35, pypy, coverage | 2 envlist = py27, py35, 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-abp&subdirectory=flake8 -abp |
| 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 canfind the .coverage file. | 23 # so that pytest-cov can find the .coverage file. |
|
Vasily Kuznetsov
2016/05/12 16:05:56
Typo: canfind -> can find.
Sebastian Noack
2016/05/12 16:17:34
Done.
| |
| 24 usedevelop = true | 24 usedevelop = true |
| LEFT | RIGHT |