diff options
author | Dan Callahan <danc@element.io> | 2021-10-21 23:38:29 +0100 |
---|---|---|
committer | Dan Callahan <danc@element.io> | 2021-10-22 23:08:54 +0100 |
commit | 99e698d6ed4ac307fa0be1e5dcce4bba0b2d7069 (patch) | |
tree | 4afaa54745dfb4ef1ef7bb5db4f6b138005a938a /mypy.ini | |
parent | Fix Shellcheck SC2155: Declare + export separately (diff) | |
download | synapse-99e698d6ed4ac307fa0be1e5dcce4bba0b2d7069.tar.xz |
Fix Shellcheck SC2089 and SC2090: Quotes in vars
SC2089: Quotes/backslashes will be treated literally. Use an array. https://github.com/koalaman/shellcheck/wiki/SC2089 SC2090: Quotes/backslashes in this variable will not be respected. https://github.com/koalaman/shellcheck/wiki/SC2090 Putting literal JSON in a variable mistakenly triggers these warnings. Instead of adding ignore directives, this can be avoided by inlining the JSON data into the curl invocation. Since the variable is only used in this one location, inlining is fine. Signed-off-by: Dan Callahan <danc@element.io>
Diffstat (limited to 'mypy.ini')
0 files changed, 0 insertions, 0 deletions