Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions crates/uv-settings/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -918,11 +918,14 @@ pub struct ResolverInstallerSchema {
/// Durations do not respect semantics of the local time zone and are always resolved to a fixed
/// number of seconds assuming that a day is 24 hours (e.g., DST transitions are ignored).
/// Calendar units such as months and years are not allowed.
///
/// Set a package to `false` to exempt it from the global [`exclude-newer`](#exclude-newer)
/// constraint entirely.
#[option(
default = "None",
value_type = "dict",
example = r#"
exclude-newer-package = { tqdm = "2022-04-04T00:00:00Z" }
exclude-newer-package = { tqdm = "2022-04-04T00:00:00Z", markupsafe = false }
"#
)]
pub exclude_newer_package: Option<ExcludeNewerPackage>,
Expand Down Expand Up @@ -1712,12 +1715,13 @@ pub struct PipOptions {
pub exclude_newer: Option<ExcludeNewerValue>,
/// Limit candidate packages for specific packages to those that were uploaded prior to the given date.
///
/// Accepts package-date pairs in a dictionary format.
/// Accepts package-date pairs in a dictionary format. Set a package to `false` to exempt it
/// from the global [`exclude-newer`](#exclude-newer) constraint entirely.
#[option(
default = "None",
value_type = "dict",
example = r#"
exclude-newer-package = { tqdm = "2022-04-04T00:00:00Z" }
exclude-newer-package = { tqdm = "2022-04-04T00:00:00Z", markupsafe = false }
"#
)]
pub exclude_newer_package: Option<ExcludeNewerPackage>,
Expand Down
4 changes: 2 additions & 2 deletions uv.schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading