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
20 changes: 12 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,6 @@ repos:
- id: ruff
- id: ruff-format

# https://github.com/renovatebot/pre-commit-hooks/issues/2621
# This hook goes over the 250MiB limit that pre-commit.ci imposes
# Disable unless a solution is found.
# - repo: https://github.com/renovatebot/pre-commit-hooks
# rev: 39.45.0
# hooks:
# - id: renovate-config-validator

- repo: https://github.com/gitleaks/gitleaks
rev: v8.30.1
hooks:
Expand All @@ -62,6 +54,18 @@ repos:
exclude: ^(docs/|.*test.*\.py$|utilities/manifests/.*|utilities/plugins/tgis_grpc/.*)


- repo: local
hooks:
- id: check-signoff
name: Check Signed-off-by
stages: [commit-msg]
language: system
entry: >
bash -c 'grep -q "^Signed-off-by: .* <.*@.*>" "$1" ||
{ echo "ERROR: Commit message must include a valid Signed-off-by trailer.";
echo " Use: git commit -s";
echo " Or add manually: Signed-off-by: Your Name <your@email.com>"; exit 1; }' --

- repo: https://github.com/espressif/conventional-precommit-linter
rev: v1.11.0
hooks:
Expand Down
Loading