Improve the tests Hatch env specification #187

Merged
candleindark merged 3 commits from candleindark/hatch-envs into master 2026-01-29 15:46:35 +00:00

3 commits

Author SHA1 Message Date
Isaac To
b86ff9a574 build(hatch env): provide default args to script in tests hatch env
The default args allows pytest to locate
the tests more precisely and efficiently
2026-01-20 11:34:54 -08:00
Isaac To
ded211f90c build(hatch env): remove "dump_things_service" dependency in tests env
The containing project is installed in a hatch
env in editable mode by default.
(ref: https://hatch.pypa.io/latest/config/environment/overview/#dev-mode)
2026-01-20 10:59:59 -08:00
Isaac To
6d4e9c62a2 build(hatch-env): remove default-args in [tool.hatch.envs.tests]
`default-args` is only relevant in
`[tool.hatch.envs.hatch-test]` which
is used to configure the `hatch test`
command and its associate env.
(ref: https://hatch.pypa.io/latest/config/internal/testing/#default-arguments)
2026-01-20 10:39:14 -08:00