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

infra: replace beautysh with shfmt #28

Merged
merged 1 commit into from
Jul 5, 2024
Merged

infra: replace beautysh with shfmt #28

merged 1 commit into from
Jul 5, 2024

Conversation

MarkoSagadin
Copy link
Collaborator

Description

beautysh is unmaintained and doesn't work with Python 3.12. The new hook delivers the shfmt tool as a pre-build binary (as it is written in Golang) so no extra dependencies are needed for this.

Closes: #26

Areas of interest for the reviewer

@vid553 can you make the change in your repo and test if the pre-commit works?

You should just run the pre-commit run --all-files after the change.

After-review steps

  • Reviewer can merge and delete the branch.

beautysh is unmaintained and doesn't work with Python 3.12.
The new hook delivers the shfmt tool as a pre-build binary
(as it is written in Golang) so no extra dependencies are needed for
this.

Closes: #26
@MarkoSagadin MarkoSagadin requested a review from vid553 July 5, 2024 07:37
@github-actions github-actions bot added the pull request Pull request, added automatically by CI. label Jul 5, 2024
Copy link
Contributor

@vid553 vid553 left a comment

Choose a reason for hiding this comment

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

Confirming that it works as desired.

@MarkoSagadin MarkoSagadin merged commit d425d1b into main Jul 5, 2024
1 check passed
@MarkoSagadin MarkoSagadin deleted the feature/shfmt branch July 5, 2024 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull request Pull request, added automatically by CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG - Pre-commit: Can't use beautysh tool with python 3.12 on MacOS
2 participants