move options to mypy.ini

pull/20608/head
Bowen Liang 12 months ago
parent 829347f3a9
commit 92526634d7

@ -2,6 +2,8 @@
warn_return_any = True warn_return_any = True
warn_unused_configs = True warn_unused_configs = True
check_untyped_defs = True check_untyped_defs = True
cache_fine_grained = True
sqlite_cache = True
exclude = (?x)( exclude = (?x)(
core/model_runtime/model_providers/ core/model_runtime/model_providers/
| tests/ | tests/

@ -7,4 +7,4 @@ cd "$SCRIPT_DIR/.."
# run mypy checks # run mypy checks
uv run --directory api --dev --with pip \ uv run --directory api --dev --with pip \
python -m mypy --install-types --non-interactive --cache-fine-grained --sqlite-cache . python -m mypy --install-types --non-interactive .

Loading…
Cancel
Save