[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0)
This commit is contained in:
pre-commit-ci[bot] 2024-10-07 20:56:01 +00:00 committed by GitHub
parent 28738647b9
commit 4b8688e1cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,7 @@
exclude: '(CNAME|Gemfile|\..*\.y[a]?ml)'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0 # use `pre-commit autoupdate` to get the latest rev
rev: v5.0.0 # use `pre-commit autoupdate` to get the latest rev
hooks:
- id: no-commit-to-branch
args: ['--branch', 'main'] # prevent local commits to main branch