Skip to content

Add shellcheck to pre-commit and devcontainers#8287

Open
trxcllnt wants to merge 3 commits intoNVIDIA:mainfrom
trxcllnt:fea/shellcheck
Open

Add shellcheck to pre-commit and devcontainers#8287
trxcllnt wants to merge 3 commits intoNVIDIA:mainfrom
trxcllnt:fea/shellcheck

Conversation

@trxcllnt
Copy link
Copy Markdown
Member

@trxcllnt trxcllnt commented Apr 3, 2026

Mostly the same as #8173, but with SC2250 disabled to reduce noise for comparison.

@trxcllnt trxcllnt requested a review from Jacobfaib April 3, 2026 15:38
@trxcllnt trxcllnt requested review from a team as code owners April 3, 2026 15:38
@github-project-automation github-project-automation bot moved this to Todo in CCCL Apr 3, 2026
@trxcllnt trxcllnt requested review from alliepiper and shwina April 3, 2026 15:38
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Apr 3, 2026
@trxcllnt trxcllnt force-pushed the fea/shellcheck branch 10 times, most recently from f6d102a to 5984ab9 Compare April 3, 2026 16:56
@trxcllnt trxcllnt requested review from a team as code owners April 3, 2026 16:56
@trxcllnt trxcllnt force-pushed the fea/shellcheck branch 2 times, most recently from 7fd047a to 5987dcf Compare April 3, 2026 17:25
Copy link
Copy Markdown
Contributor

@Jacobfaib Jacobfaib left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo minor fixups

@trxcllnt trxcllnt force-pushed the fea/shellcheck branch 2 times, most recently from f2a0cf8 to bd3dbac Compare April 3, 2026 20:12
@trxcllnt trxcllnt force-pushed the fea/shellcheck branch 6 times, most recently from 17f9bb3 to cb3dd42 Compare April 4, 2026 02:05
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 4, 2026

🥳 CI Workflow Results

🟩 Finished in 6h 43m: Pass: 100%/478 | Total: 3d 06h | Max: 1h 30m | Hits: 99%/555170

See results here.

- id: shellcheck
exclude: |
(?x)^(
^.*libcudacxx/cmake/config\.guess$
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we exclude this specific cmake facility? in case shellcheck confused it as shell script we can add a comment about it still

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shellcheck recognizes it as a shell script (from the shebang), but it's vendored so we shouldn't touch it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

4 participants