aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini25
1 files changed, 25 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..5fafde1
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,25 @@
+[tox]
+envlist = pep8,yamllint,pylint
+
+[testenv]
+deps =
+ -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
+ -r{toxinidir}/requirements.txt
+ -r{toxinidir}/test-requirements.txt
+
+[testenv:pep8]
+basepython = python3
+commands = flake8
+
+[testenv:yamllint]
+basepython = python3
+files =
+ INFO.yaml
+ sdv
+commands =
+ yamllint -s {[testenv:yamllint]files} -c {toxinidir}/yamllintrc
+
+[testenv:pylint]
+basepython = python3
+commands =
+ pylint sdv