mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
Cloudflare turn integration (#264)
* Turn integration * Add code: * type hint * Fix typehint * add code * format * WIP * trickle ice * bump version * Better docs * Modify * code * Mute icon for whisper * Add code * llama 4 demo * code * OpenAI interruptions * fix docs
This commit is contained in:
@@ -8,7 +8,7 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "fastrtc"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20.rc2"
|
||||
description = "The realtime communication library for Python"
|
||||
readme = "README.md"
|
||||
license = "MIT"
|
||||
@@ -84,7 +84,7 @@ packages = ["/backend/fastrtc"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
asyncio_mode = "auto"
|
||||
asyncio_default_fixture_loop_scope="function"
|
||||
asyncio_default_fixture_loop_scope = "function"
|
||||
|
||||
[tool.ruff]
|
||||
src = ["demo", "backend/fastrtc", "test"]
|
||||
@@ -99,19 +99,10 @@ skip-magic-trailing-comma = false
|
||||
line-ending = "auto"
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
"E",
|
||||
"F",
|
||||
"W",
|
||||
"Q",
|
||||
"I",
|
||||
"UP",
|
||||
]
|
||||
select = ["E", "F", "W", "Q", "I", "UP"]
|
||||
|
||||
# These can be turned on when the framework is more mature (Too many errors right now)
|
||||
exclude = [
|
||||
"D",
|
||||
]
|
||||
exclude = ["D"]
|
||||
|
||||
# Avoid enforcing line-length violations (`E501`)
|
||||
ignore = ["E501"]
|
||||
@@ -125,13 +116,10 @@ convention = "google"
|
||||
|
||||
[tool.pyright]
|
||||
include = ["backend/fastrtc"]
|
||||
exclude = [
|
||||
"**/__pycache__",
|
||||
"**/*.pyi",
|
||||
]
|
||||
exclude = ["**/__pycache__", "**/*.pyi"]
|
||||
|
||||
reportMissingImports = false
|
||||
reportMissingTypeStubs = false
|
||||
|
||||
pythonVersion = "3.10"
|
||||
pythonPlatform = "Linux"
|
||||
pythonPlatform = "Linux"
|
||||
|
||||
Reference in New Issue
Block a user