mirror of
https://github.com/astral-sh/ruff.git
synced 2025-12-15 22:14:44 +00:00
Update Rust crate clap to v4.5.35 (#17273)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [clap](https://redirect.github.com/clap-rs/clap) | workspace.dependencies | patch | `4.5.34` -> `4.5.35` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>clap-rs/clap (clap)</summary> ### [`v4.5.35`](https://redirect.github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4535---2025-04-01) [Compare Source](https://redirect.github.com/clap-rs/clap/compare/v4.5.34...v4.5.35) ##### Fixes - *(help)* Align positionals and flags when put in the same `help_heading` - *(help)* Don't leave space for shorts if there are none </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
parent
f1d4ba32cc
commit
27ecf350d8
2 changed files with 66 additions and 63 deletions
18
Cargo.lock
generated
18
Cargo.lock
generated
|
|
@ -334,9 +334,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "clap"
|
||||
version = "4.5.34"
|
||||
version = "4.5.35"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e958897981290da2a852763fe9cdb89cd36977a5d729023127095fa94d95e2ff"
|
||||
checksum = "d8aa86934b44c19c50f87cc2790e19f54f7a67aedb64101c2e1a2e5ecfb73944"
|
||||
dependencies = [
|
||||
"clap_builder",
|
||||
"clap_derive",
|
||||
|
|
@ -344,9 +344,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "clap_builder"
|
||||
version = "4.5.34"
|
||||
version = "4.5.35"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "83b0f35019843db2160b5bb19ae09b4e6411ac33fc6a712003c33e03090e2489"
|
||||
checksum = "2414dbb2dd0695280da6ea9261e327479e9d37b0630f6b53ba2a11c60c679fd9"
|
||||
dependencies = [
|
||||
"anstream",
|
||||
"anstyle",
|
||||
|
|
@ -918,7 +918,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"windows-sys 0.59.0",
|
||||
"windows-sys 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
@ -1499,7 +1499,7 @@ checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9"
|
|||
dependencies = [
|
||||
"hermit-abi 0.5.0",
|
||||
"libc",
|
||||
"windows-sys 0.59.0",
|
||||
"windows-sys 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
@ -3411,7 +3411,7 @@ dependencies = [
|
|||
"errno",
|
||||
"libc",
|
||||
"linux-raw-sys 0.4.15",
|
||||
"windows-sys 0.59.0",
|
||||
"windows-sys 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
@ -3424,7 +3424,7 @@ dependencies = [
|
|||
"errno",
|
||||
"libc",
|
||||
"linux-raw-sys 0.9.3",
|
||||
"windows-sys 0.59.0",
|
||||
"windows-sys 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
@ -3810,7 +3810,7 @@ dependencies = [
|
|||
"getrandom 0.3.2",
|
||||
"once_cell",
|
||||
"rustix 1.0.2",
|
||||
"windows-sys 0.59.0",
|
||||
"windows-sys 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
|
|||
|
|
@ -548,15 +548,16 @@ Log levels:
|
|||
detecting diagnostics)
|
||||
|
||||
Global options:
|
||||
--config <CONFIG_OPTION>
|
||||
Either a path to a TOML configuration file (`pyproject.toml` or
|
||||
`ruff.toml`), or a TOML `<KEY> = <VALUE>` pair (such as you might
|
||||
find in a `ruff.toml` configuration file) overriding a specific
|
||||
configuration option. Overrides of individual settings using this
|
||||
option always take precedence over all configuration files, including
|
||||
configuration files that were also specified using `--config`
|
||||
--isolated
|
||||
Ignore all configuration files
|
||||
--config <CONFIG_OPTION> Either a path to a TOML configuration file
|
||||
(`pyproject.toml` or `ruff.toml`), or a TOML `<KEY>
|
||||
= <VALUE>` pair (such as you might find in a
|
||||
`ruff.toml` configuration file) overriding a
|
||||
specific configuration option. Overrides of
|
||||
individual settings using this option always take
|
||||
precedence over all configuration files, including
|
||||
configuration files that were also specified using
|
||||
`--config`
|
||||
--isolated Ignore all configuration files
|
||||
|
||||
For help with a specific command, see: `ruff help <command>`.
|
||||
```
|
||||
|
|
@ -628,39 +629,39 @@ Options:
|
|||
Print help
|
||||
|
||||
Rule selection:
|
||||
--select <RULE_CODE>
|
||||
--select <RULE_CODE>
|
||||
Comma-separated list of rule codes to enable (or ALL, to enable all
|
||||
rules)
|
||||
--ignore <RULE_CODE>
|
||||
--ignore <RULE_CODE>
|
||||
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
|
||||
specified
|
||||
--per-file-ignores <PER_FILE_IGNORES>
|
||||
--per-file-ignores <PER_FILE_IGNORES>
|
||||
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
|
||||
those already specified
|
||||
--fixable <RULE_CODE>
|
||||
--fixable <RULE_CODE>
|
||||
List of rule codes to treat as eligible for fix. Only applicable when
|
||||
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
|
||||
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
|
||||
already specified
|
||||
|
||||
File selection:
|
||||
--exclude <FILE_PATTERN>
|
||||
--exclude <FILE_PATTERN>
|
||||
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
|
||||
those already excluded
|
||||
--respect-gitignore
|
||||
--respect-gitignore
|
||||
Respect file exclusions via `.gitignore` and other standard ignore
|
||||
files. Use `--no-respect-gitignore` to disable
|
||||
--force-exclude
|
||||
--force-exclude
|
||||
Enforce exclusions, even for paths passed to Ruff directly on the
|
||||
command-line. Use `--no-force-exclude` to disable
|
||||
|
||||
|
|
@ -684,15 +685,16 @@ Log levels:
|
|||
detecting diagnostics)
|
||||
|
||||
Global options:
|
||||
--config <CONFIG_OPTION>
|
||||
Either a path to a TOML configuration file (`pyproject.toml` or
|
||||
`ruff.toml`), or a TOML `<KEY> = <VALUE>` pair (such as you might
|
||||
find in a `ruff.toml` configuration file) overriding a specific
|
||||
configuration option. Overrides of individual settings using this
|
||||
option always take precedence over all configuration files, including
|
||||
configuration files that were also specified using `--config`
|
||||
--isolated
|
||||
Ignore all configuration files
|
||||
--config <CONFIG_OPTION> Either a path to a TOML configuration file
|
||||
(`pyproject.toml` or `ruff.toml`), or a TOML `<KEY>
|
||||
= <VALUE>` pair (such as you might find in a
|
||||
`ruff.toml` configuration file) overriding a
|
||||
specific configuration option. Overrides of
|
||||
individual settings using this option always take
|
||||
precedence over all configuration files, including
|
||||
configuration files that were also specified using
|
||||
`--config`
|
||||
--isolated Ignore all configuration files
|
||||
```
|
||||
|
||||
<!-- End auto-generated check help. -->
|
||||
|
|
@ -742,25 +744,25 @@ Miscellaneous:
|
|||
format, even if all files were formatted successfully
|
||||
|
||||
File selection:
|
||||
--respect-gitignore
|
||||
Respect file exclusions via `.gitignore` and other standard ignore
|
||||
files. Use `--no-respect-gitignore` to disable
|
||||
--exclude <FILE_PATTERN>
|
||||
List of paths, used to omit files and/or directories from analysis
|
||||
--force-exclude
|
||||
Enforce exclusions, even for paths passed to Ruff directly on the
|
||||
command-line. Use `--no-force-exclude` to disable
|
||||
--respect-gitignore Respect file exclusions via `.gitignore` and other
|
||||
standard ignore files. Use `--no-respect-gitignore`
|
||||
to disable
|
||||
--exclude <FILE_PATTERN> List of paths, used to omit files and/or
|
||||
directories from analysis
|
||||
--force-exclude Enforce exclusions, even for paths passed to Ruff
|
||||
directly on the command-line. Use
|
||||
`--no-force-exclude` to disable
|
||||
|
||||
Format configuration:
|
||||
--line-length <LINE_LENGTH> Set the line-length
|
||||
--line-length <LINE_LENGTH> Set the line-length
|
||||
|
||||
Editor options:
|
||||
--range <RANGE> When specified, Ruff will try to only format the code in
|
||||
the given range.
|
||||
It might be necessary to extend the start backwards or
|
||||
the end forwards, to fully enclose a logical line.
|
||||
The `<RANGE>` uses the format
|
||||
`<start_line>:<start_column>-<end_line>:<end_column>`.
|
||||
--range <RANGE> When specified, Ruff will try to only format the code in the
|
||||
given range.
|
||||
It might be necessary to extend the start backwards or the
|
||||
end forwards, to fully enclose a logical line.
|
||||
The `<RANGE>` uses the format
|
||||
`<start_line>:<start_column>-<end_line>:<end_column>`.
|
||||
|
||||
Log levels:
|
||||
-v, --verbose Enable verbose logging
|
||||
|
|
@ -769,15 +771,16 @@ Log levels:
|
|||
detecting diagnostics)
|
||||
|
||||
Global options:
|
||||
--config <CONFIG_OPTION>
|
||||
Either a path to a TOML configuration file (`pyproject.toml` or
|
||||
`ruff.toml`), or a TOML `<KEY> = <VALUE>` pair (such as you might
|
||||
find in a `ruff.toml` configuration file) overriding a specific
|
||||
configuration option. Overrides of individual settings using this
|
||||
option always take precedence over all configuration files, including
|
||||
configuration files that were also specified using `--config`
|
||||
--isolated
|
||||
Ignore all configuration files
|
||||
--config <CONFIG_OPTION> Either a path to a TOML configuration file
|
||||
(`pyproject.toml` or `ruff.toml`), or a TOML `<KEY>
|
||||
= <VALUE>` pair (such as you might find in a
|
||||
`ruff.toml` configuration file) overriding a
|
||||
specific configuration option. Overrides of
|
||||
individual settings using this option always take
|
||||
precedence over all configuration files, including
|
||||
configuration files that were also specified using
|
||||
`--config`
|
||||
--isolated Ignore all configuration files
|
||||
```
|
||||
|
||||
<!-- End auto-generated format help. -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue