mirror of https://github.com/langgenius/dify.git
Remove unused mypy script (#25177)
This commit is contained in:
parent
de768af099
commit
334218a62c
25
api/mypy.ini
25
api/mypy.ini
|
|
@ -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
|
|
||||||
|
|
@ -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 ./
|
|
||||||
Loading…
Reference in New Issue