Skip to content

Commit 1f64b64

Browse files
committed
build(hatch-env): specify env for conversion to LinkML and back
Specify Hatch-managed env for auto converting `dandischema.models` to LinkML schema and back to Pydantic models
1 parent 157b0be commit 1f64b64

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ all = [
6262
installer = "uv"
6363
python = "3.10"
6464

65+
# Env for auto converting `dandischema.models` to LinkML schema and back to Pydantic models
66+
[tool.hatch.envs.linkml-auto-converted]
67+
dependencies = [
68+
"pydantic2linkml @ git+https://github.com/dandi/pydantic2linkml.git"
69+
]
70+
6571
[tool.setuptools.packages.find]
6672
namespaces = true
6773
include = ["dandischema*"]

0 commit comments

Comments
 (0)