mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 09:59:22 +08:00
Introduce static type checking with pyright (#255)
This commit is contained in:
committed by
GitHub
parent
d7995b8116
commit
0767030997
@@ -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"
|
||||
Reference in New Issue
Block a user