Enable pyright basic type checking for core framework

Add pyright configuration (basic mode, Python 3.10) to pyproject.toml
and fix all 276 type errors in the core framework (everything except
services/ and adapters/). This establishes a CI-ready type checking
baseline as Pipecat approaches 1.0.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Mark Backman
2026-02-08 13:36:03 -05:00
parent 104d06551a
commit bc730e4069
65 changed files with 389 additions and 191 deletions

View File

@@ -212,6 +212,14 @@ ignore = [
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pyright]
typeCheckingMode = "basic"
pythonVersion = "3.10"
exclude = [
"src/pipecat/services/",
"src/pipecat/adapters/",
]
[tool.coverage.run]
command_line = "--module pytest"
source = ["src"]