| Index: tox.ini |
| =================================================================== |
| --- a/tox.ini |
| +++ b/tox.ini |
| @@ -1,24 +1,27 @@ |
| [tox] |
| -envlist = py27, py35, py36, pypy, coverage |
| +envlist = py27, py35, py36, pypy, qa |
| [testenv] |
| -commands = |
| - py.test tests |
| - flake8 abp tests setup.py |
| deps = |
| pytest |
| mock |
| - flake8 |
| - pep8-naming |
| - hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake8-eyeo |
| +commands = |
| + pytest tests |
| -[testenv:coverage] |
| -commands = |
| - py.test --cov=abp tests |
| +[testenv:qa] |
| +basepython = python3 |
| deps = |
| pytest-cov |
| mock |
| + flake8 |
| + flake8-docstrings |
| + pep8-naming |
| + hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake8-eyeo |
| +commands = |
| + pytest --cov=abp --cov-report=term-missing tests |
| + flake8 --ignore=D107 abp |
| + flake8 --ignore=D1 tests setup.py |
| -# We have to install our package in development mode |
| +# We have to install the package in development mode |
| # so that pytest-cov can find the .coverage file. |
| usedevelop = true |