Update pre-commit-hooks and Codespell hook

pre-commit-hooks v3.4.0 -> v5.0.0
codespell 2.3.0 -> 3.4.1

Signed-off-by: Lewis Roy <lewis@redhat.com>
This commit is contained in:
Lewis Roy
2025-04-09 14:14:28 +10:00
parent 48423a615d
commit 081629cf01
3 changed files with 5 additions and 5 deletions

View File

@ -3,4 +3,4 @@
skip = bin,vendor,.git,go.sum,.cirrus.yml,"*.fish,RELEASE_NOTES.md,*.xz,*.gz,*.ps1,*.tar,swagger.yaml,*.tgz,bin2img,*ico,*.png,*.1,*.5,copyimg,*.orig,apidoc.go
check-hidden = true
ignore-regex = \b(Not|assert)In\b
ignore-words-list = ddress,secon,passt,bu,hastable,te,clos,ans,pullrequest,uint,iff,od,seeked,splitted,marge,erro,hist,ether,specif,whit,decorder
ignore-words-list = ddress,secon,passt,bu,hastable,te,clos,ans,pullrequest,uint,iff,od,seeked,splitted,marge,erro,hist,ether,specif,whit,decorder,sems

View File

@ -1,6 +1,6 @@
---
# WARNING ALERT DANGER CAUTION ATTENTION: This file is re-used from the
# WARNING ALERT DANGER CAUTION ATTENTION: This file is reused from the
# `main` branch, by workflows in (at least) the Buildah and Skopeo repos.
# Please think twice before making large changes, renaming, or moving the file.

View File

@ -2,7 +2,7 @@
exclude: ^vendor/|^test/tools/vendor/
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v3.4.0
rev: v5.0.0
hooks:
# `buildah-tests.diff` is generated by 'git format-patch' and includes
# trailing whitespace as part of its format. We can work around that,
@ -23,6 +23,6 @@ repos:
- id: check-yaml
- repo: https://github.com/codespell-project/codespell
# Configuration for codespell is in .codespellrc
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell
- id: codespell