summaryrefslogtreecommitdiffstats
path: root/utils/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'utils/tox.ini')
-rw-r--r--utils/tox.ini17
1 files changed, 17 insertions, 0 deletions
diff --git a/utils/tox.ini b/utils/tox.ini
new file mode 100644
index 000000000..747d79dfe
--- /dev/null
+++ b/utils/tox.ini
@@ -0,0 +1,17 @@
+[tox]
+minversion=2.3.1
+envlist =
+ py{27,35}-{flake8,unit}
+skipsdist=True
+skip_missing_interpreters=True
+
+[testenv]
+usedevelop=True
+deps =
+ -rtest-requirements.txt
+ py35-flake8: flake8-bugbear
+
+commands =
+ flake8: flake8 --config=setup.cfg ../ --exclude="../utils,.tox,../inventory"
+ flake8: python setup.py flake8
+ unit: python setup.py nosetests