From 9dd6822f734fb5b231cc0aa81b6c4d5352e2d7df Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Tue, 9 Nov 2021 11:22:02 +0100 Subject: Leverage latest pylint features MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It adds encoding in all open call and leverage f-strings. Change-Id: I70ccd2bfcadae44929d5874f98fa3bf4ff644488 Signed-off-by: Cédric Ollivier (cherry picked from commit 17739d718901a10f7ec0aaf9a6d53141294a347d) --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index dca93ba3..0175731a 100644 --- a/tox.ini +++ b/tox.ini @@ -48,7 +48,7 @@ commands = [testenv:ansiblelint] basepython = python3.9 commands = - ansible-lint -x303,305,306 ansible/site.yml + ansible-lint -xcommand-instead-of-module,command-instead-of-shell,risky-shell-pipe ansible/site.yml [testenv:py38] commands = nosetests xtesting/tests/unit -- cgit 1.2.3-korg