Rearrange git hooks

This commit is contained in:
2025-12-29 20:19:18 +03:00
parent 2ea3b1b166
commit a2f7e90f89

View File

@@ -9,12 +9,6 @@ templates:
pre-commit:
jobs:
- name: "gitleaks"
run: "gitleaks git --staged"
- name: "check secret files"
run: "python3 {av-hooks-dir}/pre-commit/check-secrets-encrypted-with-ansible-vault.py"
- name: "format python"
glob: "**/*.py"
run: "black --quiet {staged_files}"
@@ -23,3 +17,9 @@ pre-commit:
- name: "mypy"
glob: "**/*.py"
run: "mypy {staged_files}"
- name: "gitleaks"
run: "gitleaks git --staged"
- name: "check secret files"
run: "python3 {av-hooks-dir}/pre-commit/check-secrets-encrypted-with-ansible-vault.py"