chore: Remove pyright in favor of pyrefly (#36154)

This commit is contained in:
chariri
2026-05-14 05:49:08 +00:00
committed by GitHub
parent b9e3130388
commit af4b9bfa8f
31 changed files with 87 additions and 181 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ def create_flask_app_with_configs() -> DifyApp:
logger.warning("Failed to add trace headers to response", exc_info=True)
return response
# Capture the decorator's return value to avoid pyright reportUnusedFunction
# Capture the decorator return values so static checkers do not treat the hooks as unused.
_ = before_request
_ = add_trace_headers