Update .pre-commit-config.yaml (#8811)
This commit is contained in:
1 parent
40c41e4269
commit
685332ede4
1 file changed
+2
-1
@@ -15,8 +15,9 @@ repos:
|
|||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.3.0
|
rev: v4.3.0
|
||||||
hooks:
|
hooks:
|
||||||
|
- id: no-commit-to-branch
|
||||||
|
args: ['--branch', 'master']
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
stages: [commit] # avoid Colab update EOF issues
|
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: check-case-conflict
|
- id: check-case-conflict
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
|
|||||||
Reference in new issue
Block a user