Skip to content

chore(shellcheck): silence intentional SC2016 in coverage tests#651

Merged
Chemaclass merged 1 commit into
mainfrom
refactor/silence-shellcheck-sc2016
May 3, 2026
Merged

chore(shellcheck): silence intentional SC2016 in coverage tests#651
Chemaclass merged 1 commit into
mainfrom
refactor/silence-shellcheck-sc2016

Conversation

@Chemaclass
Copy link
Copy Markdown
Member

🤔 Background

make sa prints two SC2016 hints on every run because two coverage tests deliberately pass literal $var/$file strings as fixtures to is_executable_line. The warnings are noise — the strings are meant to look like raw shell snippets.

💡 Changes

  • Add per-line # shellcheck disable=SC2016 directives next to the two intentional fixtures so make sa runs noise-free

The two `done` fixtures pass literal `$var`/`$file` strings to
`is_executable_line` on purpose; flag them with `# shellcheck disable=SC2016`
so `make sa` runs noise-free.
@Chemaclass Chemaclass added the pure testing Pure testing related label May 3, 2026
@Chemaclass Chemaclass self-assigned this May 3, 2026
@Chemaclass Chemaclass merged commit d1f049d into main May 3, 2026
30 checks passed
@Chemaclass Chemaclass deleted the refactor/silence-shellcheck-sc2016 branch May 3, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pure testing Pure testing related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant