apt-repo-action/.pre-commit-config.yaml
morph027 a78f0b8e0f
add pre-commit
Signed-off-by: morph027 <[email protected]>
2024-01-12 11:26:03 +01:00

24 lines
640 B
YAML

---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
args:
- '--allow-multiple-documents'
- id: check-json
- id: check-added-large-files
- id: check-symlinks
- id: destroyed-symlinks
- id: check-executables-have-shebangs
- id: requirements-txt-fixer
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.9.0.6
hooks:
- id: shellcheck
- repo: https://github.com/maxwinterstein/shfmt-py
rev: v3.7.0.1
hooks:
- id: shfmt