Skip to content

Commit de45cf9

Browse files
committed
self-referential environment
1 parent 21a8988 commit de45cf9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

+4
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ format = "ruff format {args}"
8181
format-check = "ruff format --check {args}"
8282

8383
[tool.hatch.envs.test]
84+
# this is a self-referential environment: we don't need to inherit from default
85+
# https://hatch.pypa.io/1.13/config/environment/overview/#self-referential-environments
86+
template = "test"
87+
8488
dependencies = [
8589
"numpy>=2", # Haystack is compatible both with numpy 1.x and 2.x, but we test with 2.x
8690
"numba>=0.54.0", # This pin helps uv resolve the dependency tree. See https://github.com/astral-sh/uv/issues/7881

0 commit comments

Comments
 (0)