@@ -33,8 +33,9 @@ it is still possible to use different tools to manage dependencies, such as `uv`
3333In addition to the packages needed to _ use_ this package,
3434you need additional python packages to [ run tests] ( #writing-tests ) and [ build the documentation] ( #docs-building ) .
3535
36- :::::{tabs}
37- ::::{group-tab} Hatch
36+ :::::{tab-set}
37+ ::::{tab-item} Hatch
38+ :sync: hatch
3839
3940On the command line, you typically interact with hatch through its command line interface (CLI).
4041Running one of the following commands will automatically resolve the environments for testing and
@@ -94,7 +95,8 @@ In this future, this may become easier through a hatch vscode extension.
9495
9596::::
9697
97- ::::{group-tab} uv
98+ ::::{tab-item} uv
99+ :sync: uv
98100
99101A popular choice for managing virtual environments is [ uv] [ ] .
100102The main disadvantage compared to hatch is that it supports only a single environment per project at a time,
@@ -113,7 +115,8 @@ The `.venv` directory is typically automatically discovered by IDEs such as VS C
113115
114116::::
115117
116- ::::{group-tab} Pip
118+ ::::{tab-item} Pip
119+ :sync: pip
117120
118121Pip is nowadays mostly superseded by environment manager such as [ hatch] [ ] .
119122However, for the sake of completeness, and since it’s ubiquitously available,
@@ -185,8 +188,9 @@ hatch env find hatch-test # list all possible test environment paths
185188
186189Alternatively, you can run all tests from the command line by executing
187190
188- :::::{tabs}
189- ::::{group-tab} Hatch
191+ :::::{tab-set}
192+ ::::{tab-item} Hatch
193+ :sync: hatch
190194
191195``` bash
192196hatch test # test with the highest supported Python version
@@ -196,15 +200,17 @@ hatch test --all # test with all supported Python versions
196200
197201::::
198202
199- ::::{group-tab} uv
203+ ::::{tab-item} uv
204+ :sync: uv
200205
201206``` bash
202207uv run pytest
203208```
204209
205210::::
206211
207- ::::{group-tab} Pip
212+ ::::{tab-item} Pip
213+ :sync: pip
208214
209215``` bash
210216source .venv/bin/activate
@@ -298,8 +304,9 @@ please check out [this feature request][issue-render-notebooks] in the `cookiecu
298304
299305### Building the docs locally
300306
301- :::::{tabs}
302- ::::{group-tab} Hatch
307+ :::::{tab-set}
308+ ::::{tab-item} Hatch
309+ :sync: hatch
303310
304311``` bash
305312hatch run docs:build
@@ -308,7 +315,8 @@ hatch run docs:open
308315
309316::::
310317
311- ::::{group-tab} uv
318+ ::::{tab-item} uv
319+ :sync: uv
312320
313321``` bash
314322cd docs
@@ -318,7 +326,8 @@ uv run sphinx-build -M html . _build -W
318326
319327::::
320328
321- ::::{group-tab} Pip
329+ ::::{tab-item} Pip
330+ :sync: pip
322331
323332``` bash
324333source .venv/bin/activate
0 commit comments