mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-01 20:31:12 +00:00
Fix typos (#6891)
This commit is contained in:
parent
b441678cf6
commit
83467f0a51
4 changed files with 6 additions and 6 deletions
|
|
@ -159,7 +159,7 @@ See the latest documentation on [build systems in projects](http://docs.astral.s
|
||||||
- Ignore `.python-version` files in `uv venv` with `--no-config` ([#6513](https://github.com/astral-sh/uv/pull/6513))
|
- Ignore `.python-version` files in `uv venv` with `--no-config` ([#6513](https://github.com/astral-sh/uv/pull/6513))
|
||||||
- Include virtual environment interpreters in `uv python find` ([#6521](https://github.com/astral-sh/uv/pull/6521))
|
- Include virtual environment interpreters in `uv python find` ([#6521](https://github.com/astral-sh/uv/pull/6521))
|
||||||
- Respect `-` as stdin channel for `uv run` ([#6481](https://github.com/astral-sh/uv/pull/6481))
|
- Respect `-` as stdin channel for `uv run` ([#6481](https://github.com/astral-sh/uv/pull/6481))
|
||||||
- Revert changes to pyproject.toml when sync fails duing `uv add` ([#6526](https://github.com/astral-sh/uv/pull/6526))
|
- Revert changes to pyproject.toml when sync fails during `uv add` ([#6526](https://github.com/astral-sh/uv/pull/6526))
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,8 @@ assert not VersionSpecifier(">=1.1").contains(Version("1.1a1"))
|
||||||
assert Version("2.0") in VersionSpecifier("==2")
|
assert Version("2.0") in VersionSpecifier("==2")
|
||||||
```
|
```
|
||||||
|
|
||||||
Unlike [pypa/packaging](https://github.com/pypa/packaging), this library always matches preleases.
|
Unlike [pypa/packaging](https://github.com/pypa/packaging), this library always matches prereleases.
|
||||||
To only match final releases, filter with `.any_prelease()` beforehand.
|
To only match final releases, filter with `.any_prerelease()` beforehand.
|
||||||
|
|
||||||
PEP 440 has a lot of unintuitive features, including:
|
PEP 440 has a lot of unintuitive features, including:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -156,7 +156,7 @@ impl Credentials {
|
||||||
/// Parse [`Credentials`] from an authorization header, if any.
|
/// Parse [`Credentials`] from an authorization header, if any.
|
||||||
///
|
///
|
||||||
/// Only HTTP Basic Authentication is supported.
|
/// Only HTTP Basic Authentication is supported.
|
||||||
/// [`None`] will be returned if another authoriziation scheme is detected.
|
/// [`None`] will be returned if another authorization scheme is detected.
|
||||||
///
|
///
|
||||||
/// Panics if the authentication is not conformant to the HTTP Basic Authentication scheme:
|
/// Panics if the authentication is not conformant to the HTTP Basic Authentication scheme:
|
||||||
/// - The contents must be base64 encoded
|
/// - The contents must be base64 encoded
|
||||||
|
|
|
||||||
|
|
@ -167,8 +167,8 @@ $ uv tool install black>=24
|
||||||
```
|
```
|
||||||
|
|
||||||
Similarly, tool upgrades will retain the settings provided when installing the tool. For example,
|
Similarly, tool upgrades will retain the settings provided when installing the tool. For example,
|
||||||
`uv tool install black --prelease allow` followed by `uv tool upgrade black` will retain the
|
`uv tool install black --prerelease allow` followed by `uv tool upgrade black` will retain the
|
||||||
`--prelease allow` setting.
|
`--prerelease allow` setting.
|
||||||
|
|
||||||
Tool upgrades will reinstall the tool executables, even if they have not changed.
|
Tool upgrades will reinstall the tool executables, even if they have not changed.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue