aboutsummaryrefslogtreecommitdiffstats
path: root/test/security/check_versions/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'test/security/check_versions/tox.ini')
-rw-r--r--test/security/check_versions/tox.ini17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/security/check_versions/tox.ini b/test/security/check_versions/tox.ini
new file mode 100644
index 000000000..78510e7a3
--- /dev/null
+++ b/test/security/check_versions/tox.ini
@@ -0,0 +1,17 @@
+[tox]
+envlist = black, pylint
+skipsdist = true
+
+[testenv]
+basepython = python3
+deps = -r{toxinidir}/env/requirements-dev.txt
+
+[testenv:black]
+commands = black {toxinidir}/src tests
+
+[testenv:pylint]
+commands = pylint -d C0330,W0511 {toxinidir}/src
+
+[testenv:pytest]
+setenv = PYTHONPATH = {toxinidir}/src
+commands = pytest -vv -s tests