Skip to content

Conversation

jameslamb
Copy link
Member

Description

Contributes to rapidsai/build-planning#135

Adds shellcheck to pre-commit, to catch issues like unsafe access patterns, unused variables, etc. in shell scripts.

Fixes these warnings:

SC2046 (warning): Quote this to prevent word splitting.
SC2068 (error): Double quote array expansions to avoid re-splitting elements

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.
  • Run ./build.sh test for local testing, see CONTRIBUTING.md.
  • Ensure pre-commit checks are passing see CONTRIBUTING.md.

@jameslamb jameslamb requested review from seberg and gforsyth June 12, 2025 19:14
@jameslamb jameslamb added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Jun 12, 2025
@jameslamb jameslamb merged commit 789b177 into rapidsai:main Jun 13, 2025
10 checks passed
RAMitchell pushed a commit to RAMitchell/legate-dataframe that referenced this pull request Jun 17, 2025
## Description

Contributes to rapidsai/build-planning#135

Adds `shellcheck` to `pre-commit`, to catch issues like unsafe access
patterns, unused variables, etc. in shell scripts.

Fixes these warnings:

```text
SC2046 (warning): Quote this to prevent word splitting.
SC2068 (error): Double quote array expansions to avoid re-splitting elements
```

## Checklist

- [x] New or existing tests cover these changes.
- [x] The documentation is up to date with these changes.
- [ ] Run `./build.sh test` for local testing, see
[CONTRIBUTING.md](https://github.com/rapidsai/legate-dataframe/blob/main/CONTRIBUTING.md#testing).
- [x] Ensure `pre-commit` checks are passing see
[CONTRIBUTING.md](https://github.com/rapidsai/legate-dataframe/blob/main/CONTRIBUTING.md#Pre-commit-hooks).

Signed-off-by: James Lamb <[email protected]>
Signed-off-by: Rory Mitchell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improves an existing functionality non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants