fix(shell): Run linters at pre-push

This commit is contained in:
Tom Hubrecht 2024-09-23 18:16:21 +02:00
parent 39623a8802
commit cfa14a6aae
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc

View file

@ -9,13 +9,25 @@ let
hooks = { hooks = {
# Python hooks # Python hooks
ruff.enable = true; black = {
black.enable = true; enable = true;
isort.enable = true; stages = [ "pre-push" ];
};
isort = {
enable = true;
stages = [ "pre-push" ];
};
# Nix Hooks # Nix Hooks
statix.enable = true; statix = {
deadnix.enable = true; enable = true;
stages = [ "pre-push" ];
};
deadnix = {
enable = true;
stages = [ "pre-push" ];
};
# Misc Hooks # Misc Hooks
commitizen.enable = true; commitizen.enable = true;