Update Rust crate clap to v4.5.36 (#17381)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
This commit is contained in:
renovate[bot] 2025-04-15 16:27:36 +00:00 committed by GitHub
parent bfc17fecaa
commit 78dabc332d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 63 additions and 66 deletions

18
Cargo.lock generated
View File

@ -334,9 +334,9 @@ dependencies = [
[[package]] [[package]]
name = "clap" name = "clap"
version = "4.5.35" version = "4.5.36"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d8aa86934b44c19c50f87cc2790e19f54f7a67aedb64101c2e1a2e5ecfb73944" checksum = "2df961d8c8a0d08aa9945718ccf584145eee3f3aa06cddbeac12933781102e04"
dependencies = [ dependencies = [
"clap_builder", "clap_builder",
"clap_derive", "clap_derive",
@ -344,9 +344,9 @@ dependencies = [
[[package]] [[package]]
name = "clap_builder" name = "clap_builder"
version = "4.5.35" version = "4.5.36"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2414dbb2dd0695280da6ea9261e327479e9d37b0630f6b53ba2a11c60c679fd9" checksum = "132dbda40fb6753878316a489d5a1242a8ef2f0d9e47ba01c951ea8aa7d013a5"
dependencies = [ dependencies = [
"anstream", "anstream",
"anstyle", "anstyle",
@ -918,7 +918,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d"
dependencies = [ dependencies = [
"libc", "libc",
"windows-sys 0.52.0", "windows-sys 0.59.0",
] ]
[[package]] [[package]]
@ -1499,7 +1499,7 @@ checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9"
dependencies = [ dependencies = [
"hermit-abi 0.5.0", "hermit-abi 0.5.0",
"libc", "libc",
"windows-sys 0.52.0", "windows-sys 0.59.0",
] ]
[[package]] [[package]]
@ -3428,7 +3428,7 @@ dependencies = [
"errno", "errno",
"libc", "libc",
"linux-raw-sys 0.4.15", "linux-raw-sys 0.4.15",
"windows-sys 0.52.0", "windows-sys 0.59.0",
] ]
[[package]] [[package]]
@ -3441,7 +3441,7 @@ dependencies = [
"errno", "errno",
"libc", "libc",
"linux-raw-sys 0.9.3", "linux-raw-sys 0.9.3",
"windows-sys 0.52.0", "windows-sys 0.59.0",
] ]
[[package]] [[package]]
@ -3827,7 +3827,7 @@ dependencies = [
"getrandom 0.3.2", "getrandom 0.3.2",
"once_cell", "once_cell",
"rustix 1.0.2", "rustix 1.0.2",
"windows-sys 0.52.0", "windows-sys 0.59.0",
] ]
[[package]] [[package]]

View File

@ -548,16 +548,15 @@ Log levels:
detecting diagnostics) detecting diagnostics)
Global options: Global options:
--config <CONFIG_OPTION> Either a path to a TOML configuration file --config <CONFIG_OPTION>
(`pyproject.toml` or `ruff.toml`), or a TOML `<KEY> Either a path to a TOML configuration file (`pyproject.toml` or
= <VALUE>` pair (such as you might find in a `ruff.toml`), or a TOML `<KEY> = <VALUE>` pair (such as you might
`ruff.toml` configuration file) overriding a find in a `ruff.toml` configuration file) overriding a specific
specific configuration option. Overrides of configuration option. Overrides of individual settings using this
individual settings using this option always take option always take precedence over all configuration files, including
precedence over all configuration files, including configuration files that were also specified using `--config`
configuration files that were also specified using --isolated
`--config` Ignore all configuration files
--isolated Ignore all configuration files
For help with a specific command, see: `ruff help <command>`. For help with a specific command, see: `ruff help <command>`.
``` ```
@ -629,39 +628,39 @@ Options:
Print help Print help
Rule selection: Rule selection:
--select <RULE_CODE> --select <RULE_CODE>
Comma-separated list of rule codes to enable (or ALL, to enable all Comma-separated list of rule codes to enable (or ALL, to enable all
rules) rules)
--ignore <RULE_CODE> --ignore <RULE_CODE>
Comma-separated list of rule codes to disable Comma-separated list of rule codes to disable
--extend-select <RULE_CODE> --extend-select <RULE_CODE>
Like --select, but adds additional rule codes on top of those already Like --select, but adds additional rule codes on top of those already
specified specified
--per-file-ignores <PER_FILE_IGNORES> --per-file-ignores <PER_FILE_IGNORES>
List of mappings from file pattern to code to exclude List of mappings from file pattern to code to exclude
--extend-per-file-ignores <EXTEND_PER_FILE_IGNORES> --extend-per-file-ignores <EXTEND_PER_FILE_IGNORES>
Like `--per-file-ignores`, but adds additional ignores on top of Like `--per-file-ignores`, but adds additional ignores on top of
those already specified those already specified
--fixable <RULE_CODE> --fixable <RULE_CODE>
List of rule codes to treat as eligible for fix. Only applicable when List of rule codes to treat as eligible for fix. Only applicable when
fix itself is enabled (e.g., via `--fix`) fix itself is enabled (e.g., via `--fix`)
--unfixable <RULE_CODE> --unfixable <RULE_CODE>
List of rule codes to treat as ineligible for fix. Only applicable List of rule codes to treat as ineligible for fix. Only applicable
when fix itself is enabled (e.g., via `--fix`) when fix itself is enabled (e.g., via `--fix`)
--extend-fixable <RULE_CODE> --extend-fixable <RULE_CODE>
Like --fixable, but adds additional rule codes on top of those Like --fixable, but adds additional rule codes on top of those
already specified already specified
File selection: File selection:
--exclude <FILE_PATTERN> --exclude <FILE_PATTERN>
List of paths, used to omit files and/or directories from analysis List of paths, used to omit files and/or directories from analysis
--extend-exclude <FILE_PATTERN> --extend-exclude <FILE_PATTERN>
Like --exclude, but adds additional files and directories on top of Like --exclude, but adds additional files and directories on top of
those already excluded those already excluded
--respect-gitignore --respect-gitignore
Respect file exclusions via `.gitignore` and other standard ignore Respect file exclusions via `.gitignore` and other standard ignore
files. Use `--no-respect-gitignore` to disable files. Use `--no-respect-gitignore` to disable
--force-exclude --force-exclude
Enforce exclusions, even for paths passed to Ruff directly on the Enforce exclusions, even for paths passed to Ruff directly on the
command-line. Use `--no-force-exclude` to disable command-line. Use `--no-force-exclude` to disable
@ -685,16 +684,15 @@ Log levels:
detecting diagnostics) detecting diagnostics)
Global options: Global options:
--config <CONFIG_OPTION> Either a path to a TOML configuration file --config <CONFIG_OPTION>
(`pyproject.toml` or `ruff.toml`), or a TOML `<KEY> Either a path to a TOML configuration file (`pyproject.toml` or
= <VALUE>` pair (such as you might find in a `ruff.toml`), or a TOML `<KEY> = <VALUE>` pair (such as you might
`ruff.toml` configuration file) overriding a find in a `ruff.toml` configuration file) overriding a specific
specific configuration option. Overrides of configuration option. Overrides of individual settings using this
individual settings using this option always take option always take precedence over all configuration files, including
precedence over all configuration files, including configuration files that were also specified using `--config`
configuration files that were also specified using --isolated
`--config` Ignore all configuration files
--isolated Ignore all configuration files
``` ```
<!-- End auto-generated check help. --> <!-- End auto-generated check help. -->
@ -744,25 +742,25 @@ Miscellaneous:
format, even if all files were formatted successfully format, even if all files were formatted successfully
File selection: File selection:
--respect-gitignore Respect file exclusions via `.gitignore` and other --respect-gitignore
standard ignore files. Use `--no-respect-gitignore` Respect file exclusions via `.gitignore` and other standard ignore
to disable files. Use `--no-respect-gitignore` to disable
--exclude <FILE_PATTERN> List of paths, used to omit files and/or --exclude <FILE_PATTERN>
directories from analysis List of paths, used to omit files and/or directories from analysis
--force-exclude Enforce exclusions, even for paths passed to Ruff --force-exclude
directly on the command-line. Use Enforce exclusions, even for paths passed to Ruff directly on the
`--no-force-exclude` to disable command-line. Use `--no-force-exclude` to disable
Format configuration: Format configuration:
--line-length <LINE_LENGTH> Set the line-length --line-length <LINE_LENGTH> Set the line-length
Editor options: Editor options:
--range <RANGE> When specified, Ruff will try to only format the code in the --range <RANGE> When specified, Ruff will try to only format the code in
given range. the given range.
It might be necessary to extend the start backwards or the It might be necessary to extend the start backwards or
end forwards, to fully enclose a logical line. the end forwards, to fully enclose a logical line.
The `<RANGE>` uses the format The `<RANGE>` uses the format
`<start_line>:<start_column>-<end_line>:<end_column>`. `<start_line>:<start_column>-<end_line>:<end_column>`.
Log levels: Log levels:
-v, --verbose Enable verbose logging -v, --verbose Enable verbose logging
@ -771,16 +769,15 @@ Log levels:
detecting diagnostics) detecting diagnostics)
Global options: Global options:
--config <CONFIG_OPTION> Either a path to a TOML configuration file --config <CONFIG_OPTION>
(`pyproject.toml` or `ruff.toml`), or a TOML `<KEY> Either a path to a TOML configuration file (`pyproject.toml` or
= <VALUE>` pair (such as you might find in a `ruff.toml`), or a TOML `<KEY> = <VALUE>` pair (such as you might
`ruff.toml` configuration file) overriding a find in a `ruff.toml` configuration file) overriding a specific
specific configuration option. Overrides of configuration option. Overrides of individual settings using this
individual settings using this option always take option always take precedence over all configuration files, including
precedence over all configuration files, including configuration files that were also specified using `--config`
configuration files that were also specified using --isolated
`--config` Ignore all configuration files
--isolated Ignore all configuration files
``` ```
<!-- End auto-generated format help. --> <!-- End auto-generated format help. -->