Skip to content

Commit f5b1f34

Browse files
Update instance repo from cookiecutter template
1 parent 9aa6204 commit f5b1f34

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

.cruft.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "/home/runner/work/cookiecutter-scverse/cookiecutter-scverse",
3-
"commit": "636a80fd4e94e7a63b306b460ee5f7d2483902a6",
3+
"commit": "d4bdfc5ec4c5029aebf7c0cba65609e20358144d",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {
@@ -36,7 +36,7 @@
3636
"trim_blocks": true
3737
},
3838
"_template": "/home/runner/work/cookiecutter-scverse/cookiecutter-scverse",
39-
"_commit": "636a80fd4e94e7a63b306b460ee5f7d2483902a6"
39+
"_commit": "d4bdfc5ec4c5029aebf7c0cba65609e20358144d"
4040
}
4141
},
4242
"directory": null

pyproject.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,26 @@ scripts.build = "sphinx-build -M html docs docs/_build {args}"
6666
scripts.open = "python -m webbrowser -t docs/_build/html/index.html"
6767
scripts.clean = "git clean -fdX -- {args:docs}"
6868

69+
# Test the lowest and highest supported Python versions with normal deps
6970
[[tool.hatch.envs.hatch-test.matrix]]
71+
deps = [ "stable" ]
7072
python = [ "3.10", "3.13" ]
73+
74+
# Test the newest supported Python version also with pre-release deps
75+
[[tool.hatch.envs.hatch-test.matrix]]
76+
deps = [ "pre" ]
77+
python = [ "3.13" ]
78+
7179
[tool.hatch.envs.hatch-test]
7280
features = [ "test" ]
7381

82+
[tool.hatch.envs.hatch-test.overrides]
83+
# If the matrix variable `deps` is set to "pre",
84+
# set the environment variable `UV_PRERELEASE` to "allow".
85+
matrix.deps.env-vars = [
86+
{ key = "UV_PRERELEASE", value = "allow", if = [ "pre" ] },
87+
]
88+
7489
[tool.ruff]
7590
line-length = 120
7691
src = [ "src" ]

0 commit comments

Comments
 (0)