From c03d32fd52729c5313563fd25af60a8c1af36252 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Sep 2025 20:10:23 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.12.2 → v0.12.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.2...v0.12.11) - [github.com/pre-commit/mirrors-mypy: v1.14.1 → v1.17.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.14.1...v1.17.1) --- .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 4d6cbc117..1edb5bf6d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: - hatchling - ruff - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-added-large-files args: @@ -89,7 +89,7 @@ repos: - --blank exclude: src/optimagic/optimization/algo_options.py - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.2 + rev: v0.12.11 hooks: # Run the linter. - id: ruff @@ -141,7 +141,7 @@ repos: args: - --drop-empty-cells - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.14.1 + rev: v1.17.1 hooks: - id: mypy files: src|tests From 95cebed1cc087222aab9afa39236389c99d9aed2 Mon Sep 17 00:00:00 2001 From: timmens Date: Tue, 9 Sep 2025 06:50:54 +0200 Subject: [PATCH 2/2] Align pre-commit mypy version with that of conda --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1edb5bf6d..1c368ab4d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -141,7 +141,7 @@ repos: args: - --drop-empty-cells - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.17.1 + rev: v1.14.1 hooks: - id: mypy files: src|tests