From db4cb26cec4940fe93c0455380cef47b13c759cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 2 Feb 2026 20:16:25 +0100 Subject: [PATCH] =?UTF-8?q?=E2=8F=AA=EF=B8=8F=20Revert=20"=F0=9F=94=A7=20T?= =?UTF-8?q?weak=20mypy=20config=20in=20pre-commit"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 02ee599c13ce83e6ec36c7842c476325f460060b. --- .pre-commit-config.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2b7ebdef1a..64b84bfbd2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,13 +32,10 @@ repos: - id: local-mypy name: mypy check - entry: uv run mypy - args: - - --scripts-are-modules + entry: uv run mypy fastapi require_serial: true language: unsupported - types: [python] - files: ^fastapi/.*\.py$ + pass_filenames: false - id: add-permalinks-pages language: unsupported