From 334218a62ce2c9b61cecb5cc58c6b130af45cbea Mon Sep 17 00:00:00 2001 From: Yongtao Huang Date: Fri, 5 Sep 2025 00:22:38 +0800 Subject: [PATCH] Remove unused mypy script (#25177) --- api/mypy.ini | 25 ------------------------- dev/mypy-check | 10 ---------- 2 files changed, 35 deletions(-) delete mode 100644 api/mypy.ini delete mode 100755 dev/mypy-check diff --git a/api/mypy.ini b/api/mypy.ini deleted file mode 100644 index bd771a056..000000000 --- a/api/mypy.ini +++ /dev/null @@ -1,25 +0,0 @@ -[mypy] -warn_return_any = True -warn_unused_configs = True -check_untyped_defs = True -cache_fine_grained = True -sqlite_cache = True -exclude = (?x)( - tests/ - | migrations/ - ) - -[mypy-flask_login] -ignore_missing_imports=True - -[mypy-flask_restx] -ignore_missing_imports=True - -[mypy-flask_restx.api] -ignore_missing_imports=True - -[mypy-flask_restx.inputs] -ignore_missing_imports=True - -[mypy-google.cloud.storage] -ignore_missing_imports=True diff --git a/dev/mypy-check b/dev/mypy-check deleted file mode 100755 index 8a2342730..000000000 --- a/dev/mypy-check +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -set -x - -SCRIPT_DIR="$(dirname "$(realpath "$0")")" -cd "$SCRIPT_DIR/.." - -# run mypy checks -uv run --directory api --dev --with pip \ - python -m mypy --install-types --non-interactive --exclude venv ./