Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Remove unused mypy script (#25177)

Yongtao Huang334218a62ce2
diff --git a/api/mypy.ini b/api/mypy.ini
deleted file mode 100644
index bd771a056f5..00000000000
--- 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 8a2342730cb..00000000000
--- 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 ./