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

Fixed prepare-commit-msg for ruff git hook #490

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

brownbaerchen
Copy link
Contributor

When flakeheaven doesn't find anything, it returns 0. When ruff doesn't find anything it returns empty. The current git hook would therefore always print that ruff has failed in the commit message. This is just a fix so that the commit message is unaltered if there are no issues with the linter.

@pancetta pancetta merged commit a16dc4b into Parallel-in-Time:master Sep 24, 2024
89 checks passed
@brownbaerchen brownbaerchen deleted the CI_guide_fix branch September 24, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants