From 081629cf01451406b9024b8754eb2f37a687ffdb Mon Sep 17 00:00:00 2001 From: Lewis Roy Date: Wed, 9 Apr 2025 14:14:28 +1000 Subject: [PATCH] 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 --- .codespellrc | 2 +- .github/workflows/issue_pr_lock.yml | 2 +- .pre-commit-config.yaml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.codespellrc b/.codespellrc index 2a26666eb4..5ff8e1b5b4 100644 --- a/.codespellrc +++ b/.codespellrc @@ -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 diff --git a/.github/workflows/issue_pr_lock.yml b/.github/workflows/issue_pr_lock.yml index 3fb97a8f86..a5ba2f98d1 100644 --- a/.github/workflows/issue_pr_lock.yml +++ b/.github/workflows/issue_pr_lock.yml @@ -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. diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e22e97b3e3..c39aa733f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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