From 01546f71b2c33795b920bff09bece517c3d3250a Mon Sep 17 00:00:00 2001 From: Marco Edward Gorelli Date: Wed, 28 Jul 2021 10:25:01 +0100 Subject: [PATCH] Update minimum pre-commit version to 2.9.2 The PR which led to 2.9.0 was made by a data scientist and so it contains a bug in the default types for `types_or`, it'd be better to have 2.9.2 as the minimum version - at least, that's what Anthony Sottile suggested be done in `black` https://github.com/psf/black/pull/1875#discussion_r550571589 --- .pre-commit-hooks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index fc6906aae..144e47323 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -6,4 +6,4 @@ language_version: python3 types_or: [cython, pyi, python] args: ['--filter-files'] - minimum_pre_commit_version: '2.9.0' + minimum_pre_commit_version: '2.9.2'