Skip to content

Commit a995559

Browse files
committed
Update hatch configuration for test environment
The test environment now needs to be named "hatch-test" as per the hatch docs: https://hatch.pypa.io/dev/tutorials/testing/overview/
1 parent 7f855ee commit a995559

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pyproject.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,11 @@ Source = "https://github.com/pitrou/pyarrow-hotfix"
3838
[tool.hatch.version]
3939
path = "src/pyarrow_hotfix/__about__.py"
4040

41-
[tool.hatch.envs.default]
41+
[tool.hatch.envs.hatch-test]
4242
dependencies = [
4343
"pyarrow",
4444
"pytest",
4545
]
46-
[tool.hatch.envs.default.scripts]
47-
test = "pytest {args:tests} -rs -We"
4846

49-
[[tool.hatch.envs.all.matrix]]
47+
[[tool.hatch.envs.hatch-test.matrix]]
5048
python = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

0 commit comments

Comments
 (0)