| Index: tox.ini |
| diff --git a/tox.ini b/tox.ini |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..bcdcf5ce8c849e1c4055b5b58daae4d4a676c3da |
| --- /dev/null |
| +++ b/tox.ini |
| @@ -0,0 +1,33 @@ |
| +[tox] |
| +envlist = py{27,35,36},coverage |
| +skipsdist = true |
| + |
| +[flake8] |
| +ignore = D1 |
| + |
| +[coverage:run] |
| +omit = tests/* |
| + |
| +[testenv] |
| +setenv = |
| + PYTHONPATH = {toxinidir}:{toxinidir}/.. |
| +deps = |
| + pytest |
| + pytest-cov |
| + flake8 |
| + flake8-docstrings |
| + flake8-commas |
| + pep8-naming |
| + py27: configparser |
| + py27: mock |
| + hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake8-eyeo |
| +commands = |
| + pytest tests --cov watchextensions --cov-append |
| + flake8 |
| +[testenv:coverage] |
| +deps = |
| + coverage |
| +commands = |
| + coverage report -m |
| + coverage html -d htmlcov |
| + coverage erase |