1
Fork 0

feat: add build system, mypy and editable source

This commit is contained in:
Tibo De Peuter 2026-04-08 23:18:20 +02:00
parent 3c6eec2410
commit f6dc9c8e7f
Signed by: tdpeuter
SSH key fingerprint: SHA256:u/h/LVoqKF1Iz02uOyxe6hcjmoZASCGV2HM0TG9ZMoU
6 changed files with 40 additions and 28 deletions

View file

@ -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