Lefthook: check py files with mypy
Some checks failed
Linting / YAML Lint (push) Failing after 8s
Linting / Ansible Lint (push) Successful in 18s

This commit is contained in:
2025-12-20 11:38:14 +03:00
parent eae4f5e27b
commit acf599f905

View File

@@ -18,3 +18,7 @@ pre-commit:
- name: "format python" - name: "format python"
glob: "**/*.py" glob: "**/*.py"
run: "black --quiet {staged_files}" run: "black --quiet {staged_files}"
- name: "mypy"
glob: "**/*.py"
run: "mypy {staged_files}"