Improve formatting for `"all"` `default-groups` setting documentation (#12963)

## Summary

Make the documentation for `"all"` `defauilt-groups` a little easier to
read by monospacing the literal.
This commit is contained in:
johnthagen 2025-04-18 11:34:39 -04:00 committed by GitHub
parent 17ed789edb
commit 3d340e83b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -343,7 +343,7 @@ pub struct ToolUv {
/// The list of `dependency-groups` to install by default. /// The list of `dependency-groups` to install by default.
/// ///
/// Can also be the literal "all" to default enable all groups. /// Can also be the literal `"all"` to default enable all groups.
#[option( #[option(
default = r#"["dev"]"#, default = r#"["dev"]"#,
value_type = r#"str | list[str]"#, value_type = r#"str | list[str]"#,

View File

@ -112,7 +112,7 @@ constraint-dependencies = ["grpcio<1.65"]
The list of `dependency-groups` to install by default. The list of `dependency-groups` to install by default.
Can also be the literal "all" to default enable all groups. Can also be the literal `"all"` to default enable all groups.
**Default value**: `["dev"]` **Default value**: `["dev"]`

2
uv.schema.json generated
View File

@ -119,7 +119,7 @@
} }
}, },
"default-groups": { "default-groups": {
"description": "The list of `dependency-groups` to install by default.\n\nCan also be the literal \"all\" to default enable all groups.", "description": "The list of `dependency-groups` to install by default.\n\nCan also be the literal `\"all\"` to default enable all groups.",
"anyOf": [ "anyOf": [
{ {
"$ref": "#/definitions/DefaultGroups" "$ref": "#/definitions/DefaultGroups"