From 38f15ff0183c0bdfbeb98677b8734faa3f51533e Mon Sep 17 00:00:00 2001 From: "scverse-pr-creator[bot]" <272303624+scverse-pr-creator[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 06:14:59 +0000 Subject: [PATCH] Update instance repo from cookiecutter template --- .cruft.json | 4 ++-- docs/contributing.md | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.cruft.json b/.cruft.json index 0931545..846cb62 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "/home/runner/work/cookiecutter-scverse/cookiecutter-scverse", - "commit": "6cc246194b7f1e940721bade4aad5fb6c469dcd2", + "commit": "3c6cd0e0aed6a91d5b9bd2868bac050c129e1994", "checkout": null, "context": { "cookiecutter": { @@ -37,7 +37,7 @@ "trim_blocks": true }, "_template": "/home/runner/work/cookiecutter-scverse/cookiecutter-scverse", - "_commit": "6cc246194b7f1e940721bade4aad5fb6c469dcd2" + "_commit": "3c6cd0e0aed6a91d5b9bd2868bac050c129e1994" } }, "directory": null diff --git a/docs/contributing.md b/docs/contributing.md index d802d34..58511f4 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -82,16 +82,18 @@ Next, create the environment with hatch env create hatch-test.py3.14-stable ``` -Then, obtain the path to the environment using +If you are using VScode, install the [hatch-code][] extension. +Now, open the command palette (Ctrl+Shift+P) and search for `Python: Select Interpreter`. +Choose `hatch-test.py3.14-stable` (or your preferred environment) from the dropdown list. + +For other IDEs, you can obtain the path to the virtual environments using ```bash hatch env find hatch-test.py3.14-stable ``` -In case you are using VScode, now open the command palette (Ctrl+Shift+P) and search for `Python: Select Interpreter`. -Choose `Enter Interpreter Path` and paste the path to the virtual environment from above. +and manually point it to the python binary. -In this future, this may become easier through a hatch vscode extension. :::: @@ -134,6 +136,7 @@ The `.venv` directory is typically automatically discovered by IDEs such as VS C ::::: [hatch environments]: https://hatch.pypa.io/latest/tutorials/environment/basic-usage/ +[hatch-code]: https://marketplace.visualstudio.com/items?itemName=PyPA.hatch [uv]: https://docs.astral.sh/uv/ ## Code-style