From 93b58f29bab7413ce8fb504f4eccd0a9e5669f89 Mon Sep 17 00:00:00 2001 From: Daniel Bast <2790401+dbast@users.noreply.github.com> Date: Sat, 21 Oct 2023 09:15:20 +0200 Subject: [PATCH] Update pre-commit hooks + fix findings --- .pre-commit-config.yaml | 11 ++++++----- config/remote_file_config.go | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 31b95c3..6b47219 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ # pre-commit autoupdate repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: fix-byte-order-marker - id: check-executables-have-shebangs @@ -18,8 +18,8 @@ repos: rev: v6.2.1 hooks: - id: beautysh - - repo: https://github.com/koalaman/shellcheck-precommit - rev: v0.9.0 + - repo: https://github.com/shellcheck-py/shellcheck-py + rev: v0.9.0.6 hooks: - id: shellcheck - repo: https://github.com/hadolint/hadolint @@ -32,12 +32,13 @@ repos: - id: go-fmt #- id: golangci-lint - repo: https://github.com/codespell-project/codespell - rev: v2.2.5 + rev: v2.2.6 hooks: - id: codespell exclude: go\.sum$ + args: ["-w"] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.23.3 + rev: 0.27.0 hooks: - id: check-github-workflows - id: check-dependabot diff --git a/config/remote_file_config.go b/config/remote_file_config.go index 19ba35e..ba1e6ca 100644 --- a/config/remote_file_config.go +++ b/config/remote_file_config.go @@ -63,7 +63,7 @@ func (c *RemoteFileConfig) Prepare(_ *interpolate.Context) (warnings []string, e if c.FileChecksumType == "none" { warnings = append( warnings, - "a checksum type of 'none' was specified. Specyfying checksum is highly recommended", + "a checksum type of 'none' was specified. Specifying checksum is highly recommended", ) return }