Skip to content

Commit

Permalink
DOC: add --all-extras flag to uv sync
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Oct 28, 2024
1 parent d6c106d commit 9c6c1c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cd policy
Now it's simply a matter of creating and activating the [virtual environment](https://docs.astral.sh/uv/pip/environments) with [`uv sync`](https://docs.astral.sh/uv/reference/cli/#uv-sync). The dependencies for the project are 'pinned' in each commit through the [`uv.lock` file](https://docs.astral.sh/uv/concepts/projects/#project-lockfile).

```shell
uv sync
uv sync --all-extras
source .venv/bin/activate
```

Expand Down
2 changes: 1 addition & 1 deletion src/compwa_policy/.template/CONTRIBUTING.md.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cd {{ REPO_NAME }}
Now it's simply a matter of creating and activating the [virtual environment](https://docs.astral.sh/uv/pip/environments) with [`uv sync`](https://docs.astral.sh/uv/reference/cli/#uv-sync). The dependencies for the project are 'pinned' in each commit through the [`uv.lock` file](https://docs.astral.sh/uv/concepts/projects/#project-lockfile).

```shell
uv sync
uv sync --all-extras
source .venv/bin/activate
```

Expand Down

0 comments on commit 9c6c1c8

Please sign in to comment.