summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorFrederic Martinsons <frederic.martinsons@sigfox.com>2020-11-11 09:50:31 +0100
committerFrederic Martinsons <frederic.martinsons@sigfox.com>2020-11-15 17:34:27 +0100
commite817a049f0bdce0214d90095b9a58f31a1f7ba9c (patch)
tree0da4cb2d3678ca8d8762b11f94bfaf4f4e342f7b /.gitlab-ci
parent8f45fbdaddff5269d113ee2f0d4cbf1794288a98 (diff)
downloadglib-e817a049f0bdce0214d90095b9a58f31a1f7ba9c.tar.gz
Correct shellcheck errors (and ignore world splitting when we want it)
Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x.gitlab-ci/run-black.sh1
-rwxr-xr-x.gitlab-ci/run-flake8.sh1
-rwxr-xr-x.gitlab-ci/run-shellcheck.sh1
3 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci/run-black.sh b/.gitlab-ci/run-black.sh
index 35ecec527..fdeaf1684 100755
--- a/.gitlab-ci/run-black.sh
+++ b/.gitlab-ci/run-black.sh
@@ -2,4 +2,5 @@
set -e
+# shellcheck disable=SC2046
black --diff --check $(git ls-files '*.py')
diff --git a/.gitlab-ci/run-flake8.sh b/.gitlab-ci/run-flake8.sh
index 1776cad97..2a7628303 100755
--- a/.gitlab-ci/run-flake8.sh
+++ b/.gitlab-ci/run-flake8.sh
@@ -2,4 +2,5 @@
set -e
+# shellcheck disable=SC2046
flake8 --max-line-length=88 $(git ls-files '*.py')
diff --git a/.gitlab-ci/run-shellcheck.sh b/.gitlab-ci/run-shellcheck.sh
index f6d2dd59f..abf2e5ef3 100755
--- a/.gitlab-ci/run-shellcheck.sh
+++ b/.gitlab-ci/run-shellcheck.sh
@@ -3,4 +3,5 @@
set -e
# 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")