| LEFT | RIGHT |
| 1 [tox] | 1 [tox] |
| 2 envlist = py{27,35,36} | 2 envlist = py{27,35,36},coverage |
| 3 skipsdist = true | 3 skipsdist = true |
| 4 | 4 |
| 5 [flake8] | 5 [flake8] |
| 6 ignore = D1 | 6 ignore = D1 |
| 7 | 7 |
| 8 #[coverage:run] | 8 [coverage:run] |
| 9 #omit = tests/* | 9 omit = tests/* |
| 10 | |
| 11 [coverage:report] | |
| 12 show_missing = True | |
| 13 | 10 |
| 14 [testenv] | 11 [testenv] |
| 15 setenv = | 12 setenv = |
| 16 PYTHONPATH = {toxinidir}:{toxinidir}/.. | 13 PYTHONPATH = {toxinidir}:{toxinidir}/.. |
| 17 deps = | 14 deps = |
| 18 pytest | 15 pytest |
| 19 pytest-cov | 16 pytest-cov |
| 20 flake8 | 17 flake8 |
| 21 flake8-per-file-ignores>=0.4 | |
| 22 flake8-docstrings | 18 flake8-docstrings |
| 23 flake8-commas | 19 flake8-commas |
| 24 pep8-naming | 20 pep8-naming |
| 25 configparser | 21 py27: configparser |
| 22 py27: mock |
| 26 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo | 23 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo |
| 27 commands = | 24 commands = |
| 28 # pytest tests --capture=sys --cov=buildtools | 25 pytest tests --cov watchextensions --cov-append |
| 29 flake8 | 26 flake8 |
| 27 [testenv:coverage] |
| 28 deps = |
| 29 coverage |
| 30 commands = |
| 31 coverage report -m |
| 32 coverage html -d htmlcov |
| 33 coverage erase |
| LEFT | RIGHT |