diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b9cf696..fd8e5fb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,4 @@ +fail_fast: true repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 @@ -6,6 +7,10 @@ repos: - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files + - id: no-commit-to-branch + args: + - -b + - main - repo: local hooks: - id: format