Skip to content

Commit 73af685

Browse files
ondrejbudaicroissanne
authored andcommitted
github: ignore unused functions in shellcheck
Seems to be a false positive (shellcheck doesn't understand traps).
1 parent 5d9de1a commit 73af685

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ jobs:
212212
with:
213213
ignore: vendor # We don't want to fix the code in vendored dependencies
214214
env:
215-
# don't check /etc/os-release sourcing, allow useless cats to live inside our codebase, and
216-
# allow seemingly unreachable commands
217-
SHELLCHECK_OPTS: -e SC1091 -e SC2002 -e SC2317
215+
# don't check /etc/os-release sourcing, allow useless cats to live inside our codebase,
216+
# allow seemingly unreachable commands, and allow unused functions
217+
SHELLCHECK_OPTS: -e SC1091 -e SC2002 -e SC2317 -e SC2329
218218

219219
- name: Do not doube trap signals inside test scripts
220220
run: |

0 commit comments

Comments
 (0)