aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorchenliangyjy <chenliangyjy@chinamobile.com>2020-05-08 12:38:30 +0800
committerchenliangyjy <chenliangyjy@chinamobile.com>2020-05-08 12:56:31 +0800
commit06bf8cf347d8af6740ab5df842abebf17dabac30 (patch)
tree9002d105565ddfd4d69d8cfcc2338746f941a008 /tox.ini
parentae7bfeed7d4a02938068e4f72b962f56cdf9041c (diff)
migrate hdv code from cirv to subproject cirv-hdv project
Signed-off-by: chenliangyjy <chenliangyjy@chinamobile.com> Change-Id: Ieb02ccf45bdf7b0b46cb204c864a521d547a5231 Signed-off-by: chenliangyjy <chenliangyjy@chinamobile.com>
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..74d0129
--- /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
+ hdv
+commands =
+ yamllint -s {[testenv:yamllint]files} -c {toxinidir}/yamllintrc
+
+[testenv:pylint]
+basepython = python3
+commands =
+ pylint hdv