diff --git a/pyproject.toml b/pyproject.toml index 2a850c89..fe14b2aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,6 +55,11 @@ path = "traitlets/_version.py" [tool.hatch.metadata] allow-direct-references = true +[tool.hatch.envs.default] +# uv is already a dependency of hatch, so this costs nothing to enable and +# cuts environment creation from ~16s to ~4s (more on Windows). +installer = "uv" + [tool.hatch.envs.docs] features = ["docs"] [tool.hatch.envs.docs.scripts]