Skip to content

style(shell): fix ShellCheck findings - #22

Merged
ReenigneArcher merged 2 commits into
masterfrom
codex/lint-shell
Dec 4, 2026
Merged

ReenigneArcher merged 2 commits into
masterfrom
codex/lint-shell

Conversation

@ReenigneArcher

@ReenigneArcher ReenigneArcher commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Description

Document indirect callbacks in the fake VKMS tests. Keep DKMS variables literal in the command check, generate the signing fixture with a quoted heredoc, and scope the MOK trust overrides to the commands that use them.

Screenshot

Issues Fixed or Closed

Roadmap Issues

Testing

  • ShellCheck 0.11.0, the version installed on the CI runner, reported zero findings for the tracked Bash scripts.
  • All three shell fixtures passed in WSL covering the VKMS pool, DKMS installer, and module build.
  • The shellcheck step passed in the hosted workflow. Other language findings are covered by the sibling lint PRs. Common Lint run

Type of Change

  • feat: New feature (non-breaking change which adds functionality)
  • fix: Bug fix (non-breaking change which fixes an issue)
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semicolons, etc.)
  • refactor: Code change that neither fixes a bug nor adds a feature
  • perf: Code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit
  • BREAKING CHANGE: Introduces a breaking change (can be combined with any type above)

Checklist

  • Code follows the style guidelines of this project
  • Code has been self-reviewed
  • Code has been commented, particularly in hard-to-understand areas
  • Code docstring/documentation-blocks for new or existing methods/components have been added or updated
  • Tests have been added or updated for new or modified functionality, including regression tests for bug fixes

AI Usage

See our AI usage policy.

  • AI tools were used while preparing this PR

Codex (GPT-6) applied the lint fixes and ran the validation above.

@sonarqubecloud

sonarqubecloud Bot commented Dec 4, 2026

Copy link
Copy Markdown

@ReenigneArcher
ReenigneArcher merged commit 4ae191f into master Dec 4, 2026
10 of 13 checks passed
@ReenigneArcher
ReenigneArcher deleted the codex/lint-shell branch December 4, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant