@@ -7,7 +7,7 @@ name = "unilab"
77version = " 0.1.0"
88description = " Universal Lab for Robot Learning"
99readme = " README.md"
10- requires-python = " >=3.10,<3.13 "
10+ requires-python = " >=3.10,<3.14 "
1111dependencies = [
1212 " numpy" ,
1313 " torch" ,
@@ -28,14 +28,14 @@ dependencies = [
2828]
2929
3030[project .optional-dependencies ]
31- dev = [" pytest" , " pytest-cov" , " ruff" , " mypy" ]
31+ dev = [" pytest" , " pytest-cov" , " ruff" , " mypy" , " pyright>=1.1.408 " ]
3232cu124 = [
3333 # Keep compatibility with documented Linux CUDA installation command.
3434]
3535motrix = [" motrixsim==0.6.0" ]
3636
3737[dependency-groups ]
38- dev = [" pytest" , " pytest-cov" , " ruff" , " mypy" ]
38+ dev = [" pytest" , " pytest-cov" , " ruff" , " mypy" , " pyright>=1.1.408 " ]
3939
4040[[tool .uv .index ]]
4141name = " test-pypi"
@@ -51,6 +51,7 @@ packages = ["unilab"]
5151[tool .ruff ]
5252line-length = 100
5353target-version = " py310"
54+ src = [" unilab" ]
5455
5556[tool .ruff .lint ]
5657select = [" E" , " F" , " I" , " N" , " W" ]
@@ -83,7 +84,24 @@ addopts = "--tb=short"
8384
8485[tool .coverage .run ]
8586source = [" unilab" ]
86- omit = [" unilab/algos/torch /rsl_rl/*" ]
87+ omit = [" * /rsl_rl/*" ]
8788
8889[tool .coverage .report ]
8990exclude_lines = [" pragma: no cover" , " if TYPE_CHECKING:" ]
91+
92+ [tool .pyright ]
93+ pythonVersion = " 3.10"
94+ venvPath = " ."
95+ venv = " .venv"
96+ include = [" unilab" ]
97+ exclude = [
98+ " unilab/algos/torch/rsl_rl/" , # vendored third-party
99+ " unilab/algos/mlx/" , # MLX stubs incomplete, macOS-only
100+ " unilab/algos/torch/common/ane_*" , # Apple Neural Engine, macOS-only
101+ " unilab/base/backend/" , # mujoco-uni stubs mismatch; optional backends
102+ " unilab/envs/" , # mujoco-uni internal API, stubs mismatch
103+ " unilab/utils/render_many.py" , # direct mujoco C bindings
104+ " unilab/utils/hardware_monitor.py" , # optional pynvml/psutil deps
105+ ]
106+ reportMissingImports = " warning"
107+ reportMissingModuleSource = " none"
0 commit comments