aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini14
1 files changed, 14 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..40c3a5a
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,14 @@
+[tox]
+envlist = py37,py38,py39,py310,pylint,pydocstyle
+
+[testenv]
+commands = pytest tests/
+deps = -rtest-requirements.txt
+setenv = PYTHONPATH = {toxinidir}/src
+
+[testenv:pylint]
+commands = pylint src/
+basepython = python3.8
+
+[testenv:pydocstyle]
+commands = pydocstyle src/