Code Review
/
functest-kubernetes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use pip==20.2.4 in tox venv
[functest-kubernetes.git]
/
tox.ini
diff --git
a/tox.ini
b/tox.ini
index
9aa8415
..
b62b2c3
100644
(file)
--- a/
tox.ini
+++ b/
tox.ini
@@
-1,10
+1,11
@@
[tox]
[tox]
-envlist = pep8,pylint,yamllint,ansiblelint,bashate,py27,py36,bandit
,perm
+envlist = pep8,pylint,yamllint,ansiblelint,bashate,py27,py36,bandit
[testenv]
[testenv]
+pip_version = pip==20.2.4
usedevelop = True
deps =
usedevelop = True
deps =
- -chttps://git.opnfv.org/functest/plain/upper-constraints.txt
+ -chttps://git.opnfv.org/functest/plain/upper-constraints.txt
?h=stable/hunter
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/rocky/upper-constraints.txt}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/rocky/upper-constraints.txt}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
@@
-23,7
+24,9
@@
commands = flake8
[testenv:pylint]
basepython = python2.7
[testenv:pylint]
basepython = python2.7
-commands = pylint --disable=locally-disabled,super-on-old-class --reports=n functest_kubernetes
+commands = pylint \
+ --ignore-imports=y --min-similarity-lines=10 \
+ --disable=locally-disabled,super-on-old-class --reports=n functest_kubernetes
[testenv:yamllint]
basepython = python2.7
[testenv:yamllint]
basepython = python2.7
@@
-35,7
+38,7
@@
commands =
[testenv:ansiblelint]
basepython = python2.7
[testenv:ansiblelint]
basepython = python2.7
-commands = ansible-lint ansible/site.yml
+commands = ansible-lint
-x303
ansible/site.yml
[testenv:bandit]
basepython = python2.7
[testenv:bandit]
basepython = python2.7