From fc31fa03c3932fe604f9fb1c4be430f61b2e5c67 Mon Sep 17 00:00:00 2001 From: Casper Welzel Andersen <43357585+CasperWA@users.noreply.github.com> Date: Fri, 27 Oct 2023 13:25:55 +0200 Subject: [PATCH 1/2] [Auto-generated] Update dependencies (#175) Update `pre-commit` hooks. Keep supporting Python 3.7 when using pre-commit. Co-authored-by: CIF-ontology Team --- .pre-commit-config.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 05b1417..f608fc1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,6 +3,7 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks + # Keep at v4.4.0 to support Python 3.7 rev: v4.4.0 hooks: - id: check-symlinks @@ -22,6 +23,7 @@ repos: exclude: ^.*(\.ttl|\.cif)$ - repo: https://github.com/ambv/black + # Keep at 23.3.0 to support Python 3.7 rev: 23.3.0 hooks: - id: black @@ -37,7 +39,8 @@ repos: files: ^dic2owl/.*$ - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.5.1 + # Keep at v1.4.1 to support Python 3.7 + rev: v1.4.1 hooks: - id: mypy exclude: ^tests/.*$ From aa817a2630e98451657a483c545e6f2b0cbad28a Mon Sep 17 00:00:00 2001 From: Casper Welzel Andersen <43357585+CasperWA@users.noreply.github.com> Date: Fri, 27 Oct 2023 13:32:19 +0200 Subject: [PATCH 2/2] [Auto-generated] Update dependencies (#177) Update dependencies: * Update pre-commit requirement from ~=3.4 to ~=3.5 (#176) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: CIF-ontology Team --- dic2owl/requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dic2owl/requirements_dev.txt b/dic2owl/requirements_dev.txt index ce1c125..4160427 100644 --- a/dic2owl/requirements_dev.txt +++ b/dic2owl/requirements_dev.txt @@ -1,5 +1,5 @@ pre-commit~=2.21; python_version<"3.8" -pre-commit~=3.4; python_version>="3.8" +pre-commit~=3.5; python_version>="3.8" pylint>=2.13.9,<3; python_version<"3.8" pylint~=3.0; python_version>="3.8" pytest~=7.4