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:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user