Skip to content

Commit 8c753e7

Browse files
committed
Improve precommit rules
Make it harder to push to master
1 parent a6d6d99 commit 8c753e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.pre-commit-config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ repos:
2525
- id: fix-byte-order-marker
2626
- id: forbid-new-submodules
2727
- id: mixed-line-ending
28+
- id: no-commit-to-branch
2829
- id: trailing-whitespace
2930
- repo: https://github.com/pre-commit/pygrep-hooks
3031
rev: v1.9.0

0 commit comments

Comments
 (0)