Index: tox.ini |
diff --git a/tox.ini b/tox.ini |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f5ea2d4967ec302e85578264e92a92faee791c2a |
--- /dev/null |
+++ b/tox.ini |
@@ -0,0 +1,23 @@ |
+[tox] |
+envlist = py{27,35,36} |
+skipsdist = true |
+ |
+[flake8] |
+per-file-ignores = |
+ src/__init__.py : D104 |
+ |
+[testenv] |
+setenv = |
+ PYTHONPATH = {toxinidir}/.. |
+deps = |
+ jinja2 |
+ flake8 |
+ flake8-docstrings |
+ flake8-per-file-ignores |
+ pep8-naming |
+ hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake8-eyeo |
+ pytest |
+ pytest-cov |
+commands = |
+ pytest tests --cov=src |
+ flake8 src |