DavHau
3db8b00898
pre-commit: don't format untracked files
2025-05-13 17:36:05 +07:00
DavHau
112982a7fb
vars: add get_prompts api endpoint
...
vars: add test for api endpoint get_prompts
2024-09-04 17:36:50 +02:00
Jörg Thalheim
f46fd3ace6
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
a11a62cd4e
replace ci script with nix-ci-build
2023-09-13 13:09:35 +02:00
Jörg Thalheim
a052c41469
improve ci check
2023-08-30 12:02:49 +00: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
4b2c1772d0
add ci script to parallize evaluation
2023-08-24 15:00:21 +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