aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-14 21:53:18 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-14 21:53:18 -0400
commitef2279a26ad948cbeb302674ca142a24e23f1fd9 (patch)
tree664852be7e15f9c5d666565a28c64bf24b6f46c8
parent9d04581bf9a1a5de39b92e2e27fe0248edcf2a5e (diff)
downloadqolab-ef2279a26ad948cbeb302674ca142a24e23f1fd9.tar.gz
qolab-ef2279a26ad948cbeb302674ca142a24e23f1fd9.zip
added tox setup for testing
-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
+