Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Bjorn Neergaard <bjorn@neersighted.com>
  • Loading branch information
jonapich and neersighted authored Jun 6, 2022
1 parent 8cf774d commit ec77eed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/repositories.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ default = false
secondary = false
```

Any package source defined like this takes precedence over [PyPI](https://pypi.org).
Any package source not marked as `secondary` will take precedence over [PyPI](https://pypi.org).


{{% note %}}
Expand Down Expand Up @@ -177,7 +177,7 @@ All package sources (including secondary sources) will be searched during the pa
process. These network requests will occur for all sources, regardless of if the package is
found at one or more sources.

In order to limit the search for a specific package to a particular package source, you can explicitly specify what source to use.
In order to limit the search for a specific package to a particular package repository, you can specify the source explicitly. This is strongly suggested for all private packages to avoid dependency confusion attacks.

```bash
poetry add --source internal-pypi httpx
Expand Down

0 comments on commit ec77eed

Please sign in to comment.