Introduce static type checking with pyright (#255)

This commit is contained in:
Marcus Valtonen Örnhag
2025-04-05 20:19:05 +02:00
committed by GitHub
parent d7995b8116
commit 0767030997
6 changed files with 45 additions and 26 deletions

View File

@@ -118,3 +118,16 @@ convention = "google"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402"]
"demo/talk_to_smolagents/app.py" = ["W291"]
[tool.pyright]
include = ["backend/fastrtc"]
exclude = [
"**/__pycache__",
"**/*.pyi",
]
reportMissingImports = false
reportMissingTypeStubs = false
pythonVersion = "3.10"
pythonPlatform = "Linux"