Skip to content

chore: Add treefmt pre-commit hook via git-hooks.nix#552

Closed
lafrenierejm wants to merge 1 commit intoMic92:mainfrom
lafrenierejm:pre-commit
Closed

chore: Add treefmt pre-commit hook via git-hooks.nix#552
lafrenierejm wants to merge 1 commit intoMic92:mainfrom
lafrenierejm:pre-commit

Conversation

@lafrenierejm
Copy link
Copy Markdown
Contributor

The intent is to make it more convenient to maintain autoformatting locally and, in so doing, reduce iteration time on PRs.

The intent is to make it more convenient to maintain autoformatting locally and,
in so doing, reduce iteration time on PRs.
@Mic92
Copy link
Copy Markdown
Owner

Mic92 commented Feb 16, 2026

Sorry but i don't like forced git precommit hooks. They constantly break my workflow. I rather want a pre-push hook, I think. Still many hooks can't tell what goes into one commit i.e mypy always operates on multiple files. So this is by definition incompatible with the way the pre-commit system is designed.

@Mic92 Mic92 closed this Feb 16, 2026
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.

2 participants