Skip to content

Commit 06e61fa

Browse files
pre-commit-ci[bot]neersighted
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ded0568 commit 06e61fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/managing-dependencies.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ poetry install --sync
197197
```
198198

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

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

213213
## Layering optional groups
214214

215-
When you omit the `--sync` option, you can install any subset of optional groups without removing
215+
When you omit the `--sync` option, you can install any subset of optional groups without removing
216216
those that are already installed. This is very useful, for example, in multi-stage
217217
Docker builds, where you run `poetry install` multiple times in different build stages.

docs/pyproject.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,8 @@ poetry install --extras "mysql pgsql"
385385
poetry install -E mysql -E pgsql
386386
```
387387

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

392392
You can install all extras with the `--all-extras` option:

0 commit comments

Comments
 (0)