Fix typo in environment variable name (#9186)

https://github.com/astral-sh/uv/pull/9170/files#r1845768798
This commit is contained in:
Shantanu 2024-11-17 18:54:26 -08:00 committed by GitHub
parent 8d258655e2
commit 587c9b02a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 7 deletions

View File

@ -169,7 +169,7 @@ impl EnvVars {
/// Equivalent to the `--no-verify-hashes` argument. Disables hash verification for
/// `requirements.txt` files.
pub const UV_NO_VERIFY_HASHES: &'static str = "UV_VERIFY_HASHES";
pub const UV_NO_VERIFY_HASHES: &'static str = "UV_NO_VERIFY_HASHES";
/// Equivalent to the `--allow-insecure-host` argument.
pub const UV_INSECURE_HOST: &'static str = "UV_INSECURE_HOST";

View File

@ -5685,9 +5685,7 @@ fn verify_hashes() -> anyhow::Result<()> {
link_mode: Clone,
compile_bytecode: false,
sources: Enabled,
hash_checking: Some(
Verify,
),
hash_checking: None,
upgrade: None,
reinstall: None,
},

View File

@ -5757,7 +5757,7 @@ uv pip sync [OPTIONS] <SRC_FILE>...
<p>By default, uv will verify any available hashes in the requirements file, but will not require that all requirements have an associated hash. To enforce hash validation, use <code>--require-hashes</code>.</p>
<p>May also be set with the <code>UV_VERIFY_HASHES</code> environment variable.</p>
<p>May also be set with the <code>UV_NO_VERIFY_HASHES</code> environment variable.</p>
</dd><dt><code>--offline</code></dt><dd><p>Disable network access.</p>
<p>When disabled, uv will only use locally cached data and locally available files.</p>
@ -6134,7 +6134,7 @@ uv pip install [OPTIONS] <PACKAGE|--requirement <REQUIREMENT>|--editable <EDITAB
<p>By default, uv will verify any available hashes in the requirements file, but will not require that all requirements have an associated hash. To enforce hash validation, use <code>--require-hashes</code>.</p>
<p>May also be set with the <code>UV_VERIFY_HASHES</code> environment variable.</p>
<p>May also be set with the <code>UV_NO_VERIFY_HASHES</code> environment variable.</p>
</dd><dt><code>--offline</code></dt><dd><p>Disable network access.</p>
<p>When disabled, uv will only use locally cached data and locally available files.</p>
@ -7729,7 +7729,7 @@ uv build [OPTIONS] [SRC]
<p>By default, uv will verify any available hashes in the requirements file, but will not require that all requirements have an associated hash. To enforce hash validation, use <code>--require-hashes</code>.</p>
<p>May also be set with the <code>UV_VERIFY_HASHES</code> environment variable.</p>
<p>May also be set with the <code>UV_NO_VERIFY_HASHES</code> environment variable.</p>
</dd><dt><code>--offline</code></dt><dd><p>Disable network access.</p>
<p>When disabled, uv will only use locally cached data and locally available files.</p>