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

Add pre-commit hooks #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Matthieu-LAURENT39
Copy link

@Matthieu-LAURENT39 Matthieu-LAURENT39 commented Jan 23, 2024

This adds two pre-commit hooks:

  • statix-fix, to automatically run statix fix
  • statix-check, to automatically run statix check

Unfortunately, pre-commit can't automatically install statix due to pre-commit/pre-commit#2931, and it seems like the dev doesn't want to fix it.
This still allows to use pre-commit hooks when statix has been installed manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant