feat: add build system, mypy and editable source
This commit is contained in:
parent
3c6eec2410
commit
f6dc9c8e7f
6 changed files with 40 additions and 28 deletions
|
|
@ -1,3 +1,7 @@
|
|||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "2026sel3-project"
|
||||
version = "0.1.0"
|
||||
|
|
@ -41,3 +45,36 @@ dev = [
|
|||
"pytest>=8.0.0",
|
||||
"ruff>=0.15.2",
|
||||
]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/brittle_star_project", "src/experiment_logger"]
|
||||
|
||||
[tool.mypy]
|
||||
mypy_path = "src"
|
||||
check_untyped_defs = false
|
||||
warn_return_any = false
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
module = [
|
||||
"jax.*",
|
||||
"flax.*",
|
||||
"wandb.*",
|
||||
"torch.*",
|
||||
"mujoco.*",
|
||||
"mujoco_warp.*",
|
||||
"optax.*",
|
||||
"tyro.*",
|
||||
"biorobot.*",
|
||||
"gymnasium.*",
|
||||
"matplotlib.*",
|
||||
"mediapy.*",
|
||||
"matplotlib.*",
|
||||
"mediapy.*",
|
||||
"pytest.*",
|
||||
"tensorboard.*",
|
||||
"tqdm.*",
|
||||
"numpy.*",
|
||||
"yaml.*",
|
||||
"moojoco.*"
|
||||
]
|
||||
ignore_missing_imports = true
|
||||
|
|
|
|||
Reference in a new issue