From 852881feeea970988178dc5662aa36c9f6022040 Mon Sep 17 00:00:00 2001 From: Casper Welzel Andersen <43357585+CasperWA@users.noreply.github.com> Date: Fri, 27 Oct 2023 13:24:29 +0200 Subject: [PATCH] Keep supporting Python 3.7 in pre-commit --- .pre-commit-config.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 078817a..f608fc1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,8 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + # Keep at v4.4.0 to support Python 3.7 + rev: v4.4.0 hooks: - id: check-symlinks - id: check-xml @@ -22,7 +23,8 @@ repos: exclude: ^.*(\.ttl|\.cif)$ - repo: https://github.com/ambv/black - rev: 23.10.1 + # Keep at 23.3.0 to support Python 3.7 + rev: 23.3.0 hooks: - id: black args: @@ -37,7 +39,8 @@ repos: files: ^dic2owl/.*$ - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.6.1 + # Keep at v1.4.1 to support Python 3.7 + rev: v1.4.1 hooks: - id: mypy exclude: ^tests/.*$