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

justfile, pre-commit-hook: add black-hook recipe #70

Merged
merged 1 commit into from
Sep 28, 2024
Merged

Conversation

iacopy
Copy link
Owner

@iacopy iacopy commented Sep 28, 2024

Install a pre-commit hook that launch black on files in the staging area.
This approach ensures that all your commits contain Python code formatted according to Black’s rules.

Issue #69

Install a pre-commit hook that launch black on files in the staging area
This approach ensures that all your commits contain Python code formatted according to Black’s rules.

Issue #69
@iacopy iacopy linked an issue Sep 28, 2024 that may be closed by this pull request
@iacopy iacopy merged commit 39d1fe3 into main Sep 28, 2024
4 checks passed
@iacopy iacopy deleted the 69-pre-commit-black branch September 28, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pre-commit black
1 participant