From d86cc33a24799e0cb5d727059acd5a61b1e8f9dc Mon Sep 17 00:00:00 2001 From: CIF-ontology Team Date: Wed, 25 Oct 2023 06:39:07 +0000 Subject: [PATCH 1/2] Update `pre-commit` hooks --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 05b1417..078817a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: check-symlinks - id: check-xml @@ -22,7 +22,7 @@ repos: exclude: ^.*(\.ttl|\.cif)$ - repo: https://github.com/ambv/black - rev: 23.3.0 + rev: 23.10.1 hooks: - id: black args: @@ -37,7 +37,7 @@ repos: files: ^dic2owl/.*$ - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.5.1 + rev: v1.6.1 hooks: - id: mypy exclude: ^tests/.*$ 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 2/2] 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/.*$