Commit b4dfe821c479
Changed files (1)
flake.nix
@@ -204,6 +204,11 @@
checks = forAllSystems (system: {
pre-commit-check = inputs.pre-commit-hooks.lib.${system}.run {
src = ./.;
+ # Run hooks on pre-push instead of pre-commit for less intrusive workflow
+ default_stages = [
+ "manual"
+ "pre-push"
+ ];
hooks = {
# go
gofmt.enable = true;
@@ -213,7 +218,6 @@
nixfmt-rfc-style.enable = true;
# statix.enable = true;
# python
- flake8.enable = true;
ruff.enable = true;
# shell
shellcheck.enable = true;