fix(ci): change pyright from strict to basic mode

Strict mode with 22+ disabled report types is contradictory and has caused
CI to never pass (0/50 runs). Basic mode is the honest configuration for
an SDK with many optional dependencies and generated code.

Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
zooqueen
2026-02-22 00:41:16 -08:00
co-authored by Hanzo Dev
parent 6569d008a8
commit e64fe09df5
+4 -4
View File
@@ -171,10 +171,10 @@ filterwarnings = [
]
[tool.pyright]
# this enables practically every flag given by pyright.
# there are a couple of flags that are still disabled by
# default in strict mode as they are experimental and niche.
typeCheckingMode = "strict"
# Use basic mode — strict mode with 22+ disabled checks is contradictory.
# SDK has many optional dependencies and generated code that cannot be
# fully type-checked in strict mode.
typeCheckingMode = "basic"
pythonVersion = "3.12"
exclude = [