Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] use shfmt-py in pre-commit to run shfmt #253

Merged
merged 1 commit into from
May 30, 2024
Merged

[ci] use shfmt-py in pre-commit to run shfmt #253

merged 1 commit into from
May 30, 2024

Conversation

jameslamb
Copy link
Owner

@jameslamb jameslamb commented May 30, 2024

Proposes using shfmt-py to run shfmt via pre-commit.

ref: https://github.com/MaxWinterstein/shfmt-py

That simplifies the configuration a bit and removes the need to do an apt-get install in the linting CI job.

@jameslamb jameslamb added the maintenance Not a bug or feature label May 30, 2024
@jameslamb jameslamb merged commit a136858 into main May 30, 2024
21 checks passed
@jameslamb jameslamb deleted the shfmt branch May 30, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Not a bug or feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant