aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-11-15 15:13:46 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2021-11-15 15:14:11 +0100
commite3c09959d8639b6e798759bb74e98a752b98b7f4 (patch)
tree587a31b2b9f88b2935ffb26ebdbd1f1511d329f0 /tox.ini
parentb100b1254e06719bf1c779b9d53d0ac2da67fca4 (diff)
Update linters and fix all new issues
It mostly adds encoding in open calls and leverages f-strings. It removes ansible-lint as it now asks for ansible, roles and collections. Change-Id: I3ef729f44b2c721b14d19df27805938298aa2c67 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 1 insertions, 5 deletions
diff --git a/tox.ini b/tox.ini
index 01a8286d..59c17357 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = pep8,pylint,yamllint,ansiblelint,bashate,py39,bandit,perm
+envlist = pep8,pylint,yamllint,bashate,py39,bandit,perm
[testenv]
pip_version = pip==20.2.4
@@ -36,10 +36,6 @@ files =
commands =
yamllint {[testenv:yamllint]files}
-[testenv:ansiblelint]
-basepython = python3.9
-commands = ansible-lint -x303 ansible/site.yml
-
[testenv:bandit]
basepython = python3.9
commands = bandit -r functest_kubernetes -x tests -n 5 -ll