ayon-core/.pre-commit-config.yaml
Ondřej Samohel d819a0c8c8
🎨 allow underscore in branch names
allow underscore in branch names in regex for pre-commit hook - no-commit-branch
2023-02-07 19:37:11 +01:00

12 lines
478 B
YAML

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: no-commit-to-branch
args: [ '--pattern', '^(?!((release|enhancement|feature|bugfix|documentation|tests|local|chore)\/[a-zA-Z0-9\-_]+)$).*' ]