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