This commit is contained in:
Joseph Hanson 2024-07-29 21:39:31 -05:00
parent 09b5bae6b3
commit 88cc8bf491
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 3 additions and 18 deletions

View file

@ -1,16 +0,0 @@
---
version: "3"
tasks:
init:
desc: Initialize pre-commit hooks
cmds:
- pre-commit install --install-hooks
run:
desc: Run pre-commit
cmds:
- pre-commit run --all-files
update:
desc: Update pre-commit hooks
cmds:
- pre-commit autoupdate

View file

@ -5,11 +5,12 @@ pkgs.mkShell {
NIX_CONFIG = "experimental-features = nix-command flakes";
nativeBuildInputs = with pkgs; [
age
gitleaks
go-task
go-task
lazydocker
pre-commit
sops
age
go-task
];
}