From cf2c61b92eadbc154d197269e665addbb827d424 Mon Sep 17 00:00:00 2001 From: Timmy Welch Date: Wed, 25 Dec 2024 14:49:22 -0800 Subject: [PATCH] Update pre-commit --- .pre-commit-config.yaml | 8 ++++---- go.mod | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c956fc8..63f3755 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: trailing-whitespace args: [--markdown-linebreak-ext=.gitignore] @@ -17,12 +17,12 @@ repos: hooks: - id: golangci-lint - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.5.0 + rev: v2.7.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/asottile/reorder-python-imports - rev: v3.13.0 + rev: v3.14.0 hooks: - id: reorder-python-imports args: [--py38-plus, --add-import, 'from __future__ import annotations'] @@ -31,7 +31,7 @@ repos: hooks: - id: add-trailing-comma - repo: https://github.com/asottile/pyupgrade - rev: v3.17.0 + rev: v3.19.1 hooks: - id: pyupgrade args: [--py38-plus] diff --git a/go.mod b/go.mod index a37a440..8def1d2 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module gitea.narnian.us/lordwelch/comic-hasher -go 1.23.0 +go 1.22 require ( gitea.narnian.us/lordwelch/goimagehash v0.0.0-20240812025715-33ff96e45f00