ci/lint: enable strictGenericNarrowing; type-clean stream merge

strictGenericNarrowing=true; rewrite raw SSE tool-call merge with
typed Mapping helpers so basedpyright is warning-free.
This commit is contained in:
2026-07-14 22:27:44 +08:00
parent bdb52bdef5
commit e6300cde43
2 changed files with 55 additions and 49 deletions
+1
View File
@@ -36,6 +36,7 @@ build-backend = "pdm.backend"
[tool.basedpyright]
typeCheckingMode = "recommended"
strictGenericNarrowing = true
reportAny = "hint"
reportExplicitAny = "hint"
reportImplicitStringConcatenation = "hint"