Skip to content

Commit

Permalink
skip on merge pre-commit (no-commit-on-branch hook) (#1489)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanitorduz authored Feb 10, 2025
1 parent 1a43948 commit 48c9a01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
- --exclude=docs/
- --exclude=scripts/
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.5
rev: v0.9.6
hooks:
- id: ruff
types_or: [python, pyi, jupyter]
Expand All @@ -33,6 +33,8 @@ repos:
hooks:
- id: no-commit-to-branch
args: [--branch, main]
skip:
- merge
- id: debug-statements
- id: trailing-whitespace
- id: end-of-file-fixer
Expand Down

0 comments on commit 48c9a01

Please sign in to comment.