| OLD | NEW |
| 1 [tox] | 1 [tox] |
| 2 envlist = py27,py35,py36,pypy,coverage,flake8 | 2 envlist = py27,py35,py36,pypy,coverage,flake8 |
| 3 | 3 |
| 4 [flake8] | |
| 5 ignore = D1 | |
| 6 | |
| 7 [testenv] | 4 [testenv] |
| 8 deps = | 5 deps = |
| 9 pytest | 6 pytest |
| 10 mock | 7 mock |
| 11 commands = | 8 commands = |
| 12 py.test tests | 9 py.test tests |
| 13 | 10 |
| 14 [testenv:coverage] | 11 [testenv:coverage] |
| 15 deps = | 12 deps = |
| 16 pytest-cov | 13 pytest-cov |
| 17 mock | 14 mock |
| 18 commands = | 15 commands = |
| 19 py.test --cov=abp tests | 16 py.test --cov=abp --cov-report=term-missing tests |
| 20 | 17 |
| 21 # We have to install our package in development mode | 18 # We have to install our package in development mode |
| 22 # so that pytest-cov can find the .coverage file. | 19 # so that pytest-cov can find the .coverage file. |
| 23 usedevelop = true | 20 usedevelop = true |
| 24 | 21 |
| 25 [testenv:flake8] | 22 [testenv:flake8] |
| 26 basepython = python3 | 23 basepython = python3 |
| 27 skip_install = true | 24 skip_install = true |
| 28 deps = | 25 deps = |
| 29 flake8 | 26 flake8 |
| 30 flake8-docstrings | 27 flake8-docstrings |
| 31 pep8-naming | 28 pep8-naming |
| 32 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 |
| 33 commands = | 30 commands = |
| 34 flake8 | 31 flake8 --ignore=D107 abp |
| 32 flake8 --ignore=D1 tests setup.py |
| OLD | NEW |