tests: Enable shellcheck for bash completion scripts

These were accidentally left off the list of files checked before,
because they don’t have `.sh` suffixes.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
Philip Withnall 2024-04-16 14:16:30 +01:00
parent 827bca3212
commit e577f16d01
No known key found for this signature in database
GPG Key ID: DCDF5885B1F3ED73

View File

@ -16,7 +16,7 @@ export TEST_REQUIRES_TOOLS="git shellcheck"
run_lint () {
# Ignoring third-party directories that we don't want to parse
# shellcheck disable=SC2046
shellcheck $(git ls-files '*.sh' | grep -Ev "glib/libcharset|glib/dirent")
shellcheck $(git ls-files '*.sh' 'gio/completion/' | grep -Ev "glib/libcharset|glib/dirent|gitignore")
}
# shellcheck source=tests/lint-common.sh