From 45049868ffe3cdf2faee71add45830ea3826f604 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 2 Apr 2026 00:16:44 +0000 Subject: [PATCH] chore: comment out mypy until it supports Python 3.14 bracketless except Agent-Logs-Url: https://github.com/TheAlgorithms/Python/sessions/465bf858-594a-4ca3-84b7-915fb68dd949 Co-authored-by: cclauss <3709715+cclauss@users.noreply.github.com> --- .pre-commit-config.yaml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f2dbab986..c3152633a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -49,15 +49,17 @@ repos: hooks: - id: validate-pyproject - - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.20.0 - hooks: - - id: mypy - args: - - --explicit-package-bases - - --ignore-missing-imports - - --install-types - - --non-interactive + # - repo: https://github.com/pre-commit/mirrors-mypy + # rev: v1.20.0 + # hooks: + # - id: mypy + # args: + # - --explicit-package-bases + # - --ignore-missing-imports + # - --install-types + # - --non-interactive + # TODO: re-enable when mypy supports Python 3.14 bracketless except syntax + # (https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-bracketless-except) - repo: https://github.com/pre-commit/mirrors-prettier rev: v4.0.0-alpha.8