Skip to content

Commit 69541ab

Browse files
committed
Fix contribution guide
Fix contributing guide some more
1 parent 0dad78b commit 69541ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ We recommend using the Python version from the `.python-version-default` file in
6060

6161
We use a fully-locked development environment using [*uv*](https://docs.astral.sh/uv/) so the easiest way to get started is to [install *uv*] and you can run `uv run pytest` to run the tests immediately.
6262

63-
I you'd like a traditional virtual environment, you can run `uv sync` and it will create a virtual environment named `.venv` with the correct Python version and install all the dependencies in the root directory.
63+
I you'd like a traditional virtual environment, you can run `uv sync --python=$(cat .python-version-default)` and it will create a virtual environment named `.venv` with the correct Python version and install all the dependencies in the root directory.
6464

6565
If you're using [*direnv*](https://direnv.net), you can automate the creation and activation of the project's virtual environment with the correct Python version by adding the following `.envrc` to the project root:
6666

6767
```bash
68-
uv sync
68+
uv sync --python=$(cat .python-version-default)
6969
. .venv/bin/activate
7070
```
7171

0 commit comments

Comments
 (0)