Skip to content

Commit b62caba

Browse files
committed
move mypy config into project
1 parent 2bef463 commit b62caba

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

mypy.ini

Lines changed: 0 additions & 5 deletions
This file was deleted.

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ addopts = ["--import-mode=importlib", "--ignore=examples"]
6767

6868

6969
[tool.mypy]
70+
exclude = "(build|setup\\.py|livekit-rtc/rust-sdks.*)"
71+
namespace_packages = true
72+
explicit_package_bases = true
73+
mypy_path = "livekit-protocol:livekit-api:livekit-rtc"
7074
strict = true
7175
disallow_any_generics = false
7276
plugins = ["pydantic.mypy"]
73-
namespace_packages = true

0 commit comments

Comments
 (0)