Commit Graph

6 Commits

Author SHA1 Message Date
Jörg Thalheim
e23755d78e make git-hooks opt-in
pre-commit hook break git commits and are disruptive.
Therefore people that want to enable this feature, should enable it locally instead.
I.e. treefmt will also check untracked files that are not meant for the current commit.
2024-05-27 11:08:17 +02:00
Jörg Thalheim
f63cfb4462 replace pre-commit hook with hook in pre-create 2023-09-13 15:53:36 +02:00
Jörg Thalheim
be78e65b11 pre-commit: allow treefmt cache
cache should work now and speeds up things
2023-08-24 16:26:03 +02:00
Jörg Thalheim
745368242d pre-commit: don't fail silent
if mypy fails we don't know why
2023-08-24 11:31:41 +02:00
Jörg Thalheim
caa1c0dfd8 pre-commit: fix weird bug where commit_files is undefined in bash 2023-08-09 15:17:38 +02:00
Jörg Thalheim
930923512c replace pre-commit with shell script
This saves one flake input and some python dependencies
2023-08-03 14:43:20 +02:00