Index: eyeo-depup/tox.ini |
diff --git a/eyeo-depup/tox.ini b/eyeo-depup/tox.ini |
new file mode 100644 |
index 0000000000000000000000000000000000000000..797072d7615440b9ca9d7d8665060460b2617616 |
--- /dev/null |
+++ b/eyeo-depup/tox.ini |
@@ -0,0 +1,28 @@ |
+[tox] |
+envlist = py{27,35,36},flake8 |
+skipsdist = true |
+ |
+[flake8] |
+per-file-ignores = |
+ src/__init__.py : D104 |
+ |
+[testenv] |
+setenv = |
+ PYTHONPATH = {toxinidir} |
+deps = |
+ jinja2 |
+ pytest |
+ pytest-cov |
+commands = |
+ pytest tests --cov-config tox.ini --cov-report html --cov-report term-missing --cov=src |
+ |
+[testenv:flake8] |
+basepython = python3 |
+deps = |
+ flake8 |
+ flake8-docstrings |
+ flake8-per-file-ignores |
+ pep8-naming |
+ ../flake8-eyeo |
+commands = |
+ flake8 src tests |