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.

add tyck tool (currently ignore the error) (#22592)

Asuka Minatod12255025c7b
diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml
index 9c3daddbfc8..63d681e7edb 100644
--- a/.github/workflows/api-tests.yml
+++ b/.github/workflows/api-tests.yml
@@ -47,7 +47,16 @@ jobs:
- name: Run Unit tests
run: |
uv run --project api bash dev/pytest/pytest_unit_tests.sh
-
+ - name: Run ty check
+ run: |
+ cd api
+ uv add --dev ty
+ uv run ty check || true
+ - name: Run pyrefly check
+ run: |
+ cd api
+ uv add --dev pyrefly
+ uv run pyrefly check || true
- name: Coverage Summary
run: |
set -x
diff --git a/api/uv.lock b/api/uv.lock
index 40091c297aa..faf87fa6981 100644
--- a/api/uv.lock
+++ b/api/uv.lock
@@ -1,5 +1,5 @@
version = 1
-revision = 2
+revision = 3
requires-python = ">=3.11, <3.13"
resolution-markers = [
"python_full_version >= '3.12.4' and platform_python_implementation != 'PyPy' and sys_platform == 'linux'",