@@ -65,7 +65,6 @@ dev = [
6565 " pytest-httpserver" ,
6666 " werkzeug>=2.0.0" ,
6767 " ruff>=0.5.0" ,
68- " pyright>=1.1.365" ,
6968 " transformers>=4.0.0" ,
7069 " types-setuptools" ,
7170 " types-requests" ,
@@ -174,6 +173,7 @@ tau2 = { git = "https://github.com/sierra-research/tau2-bench.git" }
174173
175174[dependency-groups ]
176175dev = [
176+ " basedpyright>=1.31.3" ,
177177 " fastapi[standard]>=0.116.1" ,
178178 " fastmcp>=2.10.6" ,
179179 " haikus==0.3.8" ,
@@ -204,38 +204,9 @@ known-first-party = ["eval_protocol"]
204204combine-as-imports = true
205205
206206[tool .pyright ]
207- typeCheckingMode = " basic "
207+ typeCheckingMode = " recommended "
208208pythonVersion = " 3.10"
209- reportMissingImports = " none"
210- reportMissingTypeStubs = " none"
211- reportMissingModuleSource = " none"
212209include = [" eval_protocol" , " examples" , " tests" ]
213210exclude = [" vite-app" , " vendor" ]
214211# Ignore diagnostics for vendored generator code
215212ignore = [" versioneer.py" ]
216- # Relax noisy diagnostics commonly triggered in tests and dynamic libs
217- reportAttributeAccessIssue = " none"
218- reportCallIssue = " none"
219- reportUnknownMemberType = " none"
220- reportUnknownVariableType = " none"
221- reportPossiblyUnboundVariable = " none"
222- # Additional suppressions per request
223- reportOptionalMemberAccess = " none"
224- reportIndexIssue = " none"
225- reportReturnType = " none"
226- reportOptionalCall = " none"
227- reportGeneralTypeIssues = " none"
228- reportOperatorIssue = " none"
229- reportOptionalSubscript = " none"
230- reportUnsupportedDunderAll = " none"
231- reportOptionalContextManager = " none"
232- reportInvalidTypeForm = " none"
233- reportRedeclaration = " none"
234- reportUndefinedVariable = " none"
235- reportPrivateImportUsage = " none"
236- reportOptionalIterable = " none"
237- # Make incompatibilities and argument types warnings instead of errors for now
238- # and suppress warnings output entirely
239- reportIncompatibleVariableOverride = " none"
240- reportArgumentType = " none"
241- reportAssignmentType = " none"
0 commit comments