From c4bfbb20791cda524db7bcb692d28cc8bbc93849 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Tue, 26 Apr 2022 15:46:20 +1000 Subject: [PATCH] Update minimum `pre-commit` version to latest `2.18.1` Conda, Homebrew and PyPI all have `2.18.1` https://github.com/pre-commit/pre-commit/releases https://pypi.org/project/pre-commit/#history https://formulae.brew.sh/formula/pre-commit https://anaconda.org/conda-forge/pre-commit Also run `pre-commit autoupdate` https://pre-commit.com/#pre-commit-autoupdate --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f91ef3e90..d7c3cb36d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,14 +3,14 @@ default_stages: [commit, push] default_language_version: # force all unspecified Python hooks to run python3 python: python3 -minimum_pre_commit_version: "1.20.0" +minimum_pre_commit_version: '2.18.1' repos: - repo: meta hooks: - id: identity - id: check-hooks-apply - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v4.2.0 hooks: - id: check-added-large-files - id: check-case-conflict