In t-printf-I2016.sh line 5:
printf 'eval "$(pyenv init - %s)"' "$shell"
^-- SC2016: Expressions don't expand in single quotes, use double quotes for that.
Here printf is used on purpose, and therefore SC2016 should not be emitted.
btw: when using double quotes and a variable in there you will get:
Don't use variables in the printf format string. Use printf "..%s.." "$foo". (I2059)
Here
printfis used on purpose, and therefore SC2016 should not be emitted.btw: when using double quotes and a variable in there you will get: