-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (66 loc) · 1.68 KB
/
pyproject.toml
File metadata and controls
77 lines (66 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[project]
name = "python-sdks"
version = "0.1.0"
description = "LiveKit Python SDKs monorepo"
requires-python = ">=3.9"
dependencies = ["livekit", "livekit-api", "livekit-protocol"]
[tool.uv.workspace]
members = ["livekit-rtc", "livekit-api", "livekit-protocol"]
[tool.uv.sources]
livekit = { workspace = true }
livekit-api = { workspace = true }
livekit-protocol = { workspace = true }
[dependency-groups]
dev = [
# Linting and type checking
"ruff>=0.8.5",
"mypy>=1.13.0",
"types-aiofiles>=24",
"ipython>=8.0.0",
# Testing
"pytest>=8.3.4",
"pytest-asyncio>=0.24.0",
# Build and packaging
"requests",
"wheel",
"twine",
"auditwheel; sys_platform == 'linux'",
"cibuildwheel",
# Additional dependencies
"matplotlib",
"pydantic",
"numpy",
]
[tool.ruff]
line-length = 100
target-version = "py39"
exclude = [".github"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = ["E501"]
[tool.ruff.lint.isort]
combine-as-imports = true
known-first-party = ["livekit"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
addopts = ["--import-mode=importlib", "--ignore=examples"]
[tool.mypy]
exclude = "(build|setup\\.py|livekit-rtc/rust-sdks.*)"
namespace_packages = true
explicit_package_bases = true
mypy_path = "livekit-protocol:livekit-api:livekit-rtc"
strict = false # TODO re-enable strict checking
disallow_any_generics = false
plugins = ["pydantic.mypy"]