Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
default_install_hook_types:
- pre-commit
- commit-msg

repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.2.0
hooks:
- id: conventional-pre-commit
stages:
- commit-msg
args:
- "--strict"
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: shellcheck
stages:
- commit-msg
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: end-of-file-fixer
stages:
- commit-msg
- id: trailing-whitespace
stages:
- commit-msg
- id: mixed-line-ending
stages:
- commit-msg
- id: check-byte-order-marker
stages:
- commit-msg
- id: check-executables-have-shebangs
stages:
- commit-msg
- id: check-merge-conflict
stages:
- commit-msg
- id: check-symlinks
stages:
- commit-msg
- id: check-yaml
stages:
- commit-msg
files: .*\.(yaml|yml)$
args:
- "--allow-multiple-documents"
- "--unsafe"
- id: debug-statements
- repo: https://github.com/psf/black
rev: 25.9.0
hooks:
- id: black
stages:
- manual
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.37.1
hooks:
- id: yamllint
stages:
- manual
args:
- "-c"
- ".yamllint"
- repo: https://github.com/ansible-community/ansible-lint
rev: v25.9.2
hooks:
- id: ansible-lint
stages:
- manual
additional_dependencies:
- ansible
Loading