From e3c09959d8639b6e798759bb74e98a752b98b7f4 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Mon, 15 Nov 2021 15:13:46 +0100 Subject: Update linters and fix all new issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tox.ini | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tox.ini') 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 -- cgit 1.2.3-korg