aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--tox.ini17
2 files changed, 18 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index b1daa39..448d075 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ data/
.fuse_*
build/
doc_generator/autoapi/
+.tox/
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..13057e4
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,17 @@
+[tox]
+skipsdist = True
+
+[testenv]
+basepython = python3
+
+[testenv:flake8]
+description = lint with flake8
+deps = flake8
+commands = flake8 --max-line-length=88
+
+[testenv:pytest]
+description = test cases
+usedevelop = True
+deps = pytest
+commands = pytest
+