Merge "Ignore new shellcheck version (0.9.0) warnings"

This commit is contained in:
Zuul 2022-12-19 13:31:06 +00:00 committed by Gerrit Code Review
commit dea9bb7f18

View File

@ -46,6 +46,7 @@ basepython = python3
# SC2207: Prefer mapfile or read -a to split command output (or quote to avoid splitting)
# SC2219: Instead of 'let expr', prefer (( expr ))
# SC2254: Quote expansions in case patterns to match literally rather than as a glob.
# SC2317: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
# shellcheck is called twice, to handle shell scripts that do not end in .sh
commands =
@ -59,7 +60,7 @@ commands =
-eSC1083 -eSC2002 -eSC2004 -eSC2005 -eSC2006 -eSC2012 -eSC2034 \
-eSC2044 -eSC2046 -eSC2068 -eSC2076 -eSC2086 -eSC2091 -eSC2115 \
-eSC2148 -eSC2154 -eSC2155 -eSC2162 -eSC2166 -eSC2181 -eSC2199 \
-eSC2206 -eSC2207 -eSC2219 -eSC2254"
-eSC2206 -eSC2207 -eSC2219 -eSC2254 -eSC2317"
bash -c "find {toxinidir} \
-not \( -type d -name .?\* -prune \) \
-type f \