From e25845d8faaff52cdc184df2b1372f519ce75b88 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Tue, 19 May 2020 15:15:05 -0700 Subject: [PATCH] Escape use of % in tox.ini to avoid interpolation Zuul-jobs tox roles wants to be able to run tox --showconfig -e linters. Unfortunately our linters target has an unescaped % symbol in it which causes python3 + tox to fail with an interpolation error. Escaping the % to avoid interpolation addresses this. Change-Id: I7e23595495909fc94a7ea5a9e461e67e25ddeae9 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index d79fa9f7f4..bf58e116b0 100644 --- a/tox.ini +++ b/tox.ini @@ -40,7 +40,7 @@ commands = # Ansible lint bash -c "find playbooks -type f -regex '.*.ya?ml' -print0 | \ xargs -t -n1 -0 ansible-lint" - bash -c 'find roles -maxdepth 1 -mindepth 1 -type d -printf "%p/\n" | \ + bash -c 'find roles -maxdepth 1 -mindepth 1 -type d -printf "%%p/\n" | \ xargs -t -n1 ansible-lint' # Ansible Syntax Check bash -c "find playbooks -type f -regex '.*.ya?ml' -exec \