Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and neersighted committed Sep 12, 2022
1 parent ded0568 commit 06e61fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/managing-dependencies.md
Expand Up @@ -197,7 +197,7 @@ poetry install --sync
```

The `--sync` option can be combined with any [dependency groups]({{< relref "#dependency-groups" >}}) related options
to synchronize the environment with specific groups. Note that extras are separate. Any
to synchronize the environment with specific groups. Note that extras are separate. Any
extras not selected for install are always removed, regardless of `--sync`.

```bash
Expand All @@ -212,6 +212,6 @@ The `--sync` option replaces the `--remove-untracked` option which is now deprec

## Layering optional groups

When you omit the `--sync` option, you can install any subset of optional groups without removing
When you omit the `--sync` option, you can install any subset of optional groups without removing
those that are already installed. This is very useful, for example, in multi-stage
Docker builds, where you run `poetry install` multiple times in different build stages.
4 changes: 2 additions & 2 deletions docs/pyproject.md
Expand Up @@ -385,8 +385,8 @@ poetry install --extras "mysql pgsql"
poetry install -E mysql -E pgsql
```

Any extras you don't specify will be removed. Note this behavior is different from
[optional dependency groups]({{< relref "managing-dependencies#optional-groups" >}}) not
Any extras you don't specify will be removed. Note this behavior is different from
[optional dependency groups]({{< relref "managing-dependencies#optional-groups" >}}) not
selected for install, e.g. those not specified via `install --with`.

You can install all extras with the `--all-extras` option:
Expand Down

0 comments on commit 06e61fa

Please sign in to comment.