| LEFT | RIGHT |
| 1 [tox] | 1 [tox] |
| 2 envlist = py27, py35, py36, pypy, qa | 2 envlist = py27,py35,py36,pypy,coverage,flake8 |
| 3 | 3 |
| 4 [testenv] | 4 [testenv] |
| 5 deps = | 5 deps = |
| 6 pytest | 6 pytest |
| 7 mock | 7 mock |
| 8 commands = | 8 commands = |
| 9 pytest tests | 9 py.test tests |
| 10 | 10 |
| 11 [testenv:qa] | 11 [testenv:coverage] |
| 12 basepython = python3 | |
| 13 deps = | 12 deps = |
| 14 pytest-cov | 13 pytest-cov |
| 15 mock | 14 mock |
| 15 commands = |
| 16 py.test --cov=abp --cov-report=term-missing tests |
| 17 |
| 18 # We have to install our package in development mode |
| 19 # so that pytest-cov can find the .coverage file. |
| 20 usedevelop = true |
| 21 |
| 22 [testenv:flake8] |
| 23 basepython = python3 |
| 24 skip_install = true |
| 25 deps = |
| 16 flake8 | 26 flake8 |
| 17 flake8-docstrings | 27 flake8-docstrings |
| 18 pep8-naming | 28 pep8-naming |
| 19 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo | 29 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo |
| 20 commands = | 30 commands = |
| 21 pytest --cov=abp --cov-report=term-missing tests | |
| 22 flake8 --ignore=D107 abp | 31 flake8 --ignore=D107 abp |
| 23 flake8 --ignore=D1 tests setup.py | 32 flake8 --ignore=D1 tests setup.py |
| 24 | |
| 25 # We have to install the package in development mode | |
| 26 # so that pytest-cov can find the .coverage file. | |
| 27 usedevelop = true | |
| LEFT | RIGHT |