Add support for UV_OFFLINE (#9795)

Closes https://github.com/astral-sh/uv/issues/9794
This commit is contained in:
Zanie Blue 2024-12-11 09:32:58 -06:00 committed by GitHub
parent cb3fefff15
commit f64da9b763
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 58 additions and 8 deletions

View file

@ -202,6 +202,10 @@ Equivalent to the `--no-verify-hashes` argument. Disables hash verification for
Use to disable line wrapping for diagnostics.
### `UV_OFFLINE`
Equivalent to the `--offline` command-line argument. If set, uv will disable network access.
### `UV_OVERRIDE`
Equivalent to the `--override` command-line argument. If set, uv will use this file