Commit graph

7 commits

Author SHA1 Message Date
Benjamin Bädorf 3c3abec238
fix: move pre-commit treefmt hook into CI
The logic inside the hook was rather broken, causing confusing merges,
stashes, and aborts. Unfortunately `treefmt` does not provide a pure
lint option that checks without writing the changes. So instead, we do
this in CI.
2023-07-13 17:05:27 +02:00
teutat3s a479b8e544
devshell: stash only unstaged changes in pre-commit hook 2023-07-04 01:42:40 +02:00
teutat3s d28da2e1e6
lint: exclude file generated by nvfetcher
Fix pre-commit hook to only format staged files
2023-06-13 14:52:39 +02:00
teutat3s c65f185773
pre-commit hook: only format modified lines
instead of entire files
2023-06-13 14:52:31 +02:00
teutat3s 24b8b9f060
Switch to alejandra for formatting
Use treefmt

For context, see upstream PR: https://github.com/divnix/digga/pull/491
2022-11-20 23:23:28 +01:00
teutat3s 616b7af858
devos: include upstream commits
780620d865

e6b14d39d6

dd51f64bc5
2022-08-13 21:50:23 +02:00
David Arnold 33fb25e011 ref: move devshell module here to devos again 2021-07-07 21:03:31 -05:00