forked from red-hat-data-services/agentic-starter-kits
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
22 lines (20 loc) · 793 Bytes
/
.pre-commit-config.yaml
File metadata and controls
22 lines (20 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Pre-commit configuration for agentic-starter-kits
# Install: pre-commit install --install-hooks
# Run manually: pre-commit run --all-files
default_install_hook_types:
- pre-commit
- commit-msg
repos:
# Enforce Conventional Commits in commit messages
- repo: https://github.com/espressif/conventional-precommit-linter
rev: v1.11.0
hooks:
- id: conventional-precommit-linter
stages: [commit-msg]
# more args can be added here to customize the linter behavior
# more args can be found here: https://github.com/espressif/conventional-precommit-linter
args:
- --types=feat,fix,docs,chore,test,perf,refactor,ci,build,style,revert
- --subject-min-length=10
- --subject-max-length=72
- --allow-breaking