Skip to content

Commit b74f405

Browse files
committed
fix install flow
1 parent 00cd6c2 commit b74f405

File tree

4 files changed

+244
-0
lines changed

4 files changed

+244
-0
lines changed

.github/workflows/check-types.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
- name: Install the project
3232
run: uv sync --all-extras --dev
3333

34+
- name: Install workspace packages
35+
run: uv pip install -e livekit-protocol -e livekit-api -e livekit-rtc
36+
3437
- name: Download ffi
3538
run: uv run python livekit-rtc/rust-sdks/download_ffi.py --output .venv/lib/python3.9/site-packages/livekit/rtc/resources
3639

mypy.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
[mypy]
22
exclude = (build|setup\.py|livekit-rtc/rust-sdks.*)
3+
namespace_packages = True
34
explicit_package_bases = True
5+
mypy_path = livekit-protocol:livekit-api:livekit-rtc

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ dev = [
1818
# Linting and type checking
1919
"ruff>=0.8.5",
2020
"mypy>=1.13.0",
21+
"types-aiofiles>=24",
22+
"ipython>=8.0.0",
2123
# Testing
2224
"pytest>=8.3.4",
2325
"pytest-asyncio>=0.24.0",
@@ -69,3 +71,4 @@ addopts = ["--import-mode=importlib", "--ignore=examples"]
6971
strict = true
7072
disallow_any_generics = false
7173
plugins = ["pydantic.mypy"]
74+
namespace_packages = true

0 commit comments

Comments
 (0)