mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-03 17:10:55 +00:00
Update help and documentation for --output-format
to reflect "full"
default (#12248)
fix #12247 changed help to list "full" as the default for --output-format and removed "text" as an option (as this is no longer supported).
This commit is contained in:
parent
1e04bd0b73
commit
10f07d88a2
2 changed files with 1 additions and 3 deletions
|
@ -182,8 +182,7 @@ pub struct CheckCommand {
|
||||||
ignore_noqa: bool,
|
ignore_noqa: bool,
|
||||||
|
|
||||||
/// Output serialization format for violations.
|
/// Output serialization format for violations.
|
||||||
/// The default serialization format is "concise".
|
/// The default serialization format is "full".
|
||||||
/// In preview mode, the default serialization format is "full".
|
|
||||||
#[arg(long, value_enum, env = "RUFF_OUTPUT_FORMAT")]
|
#[arg(long, value_enum, env = "RUFF_OUTPUT_FORMAT")]
|
||||||
pub output_format: Option<OutputFormat>,
|
pub output_format: Option<OutputFormat>,
|
||||||
|
|
||||||
|
|
|
@ -594,7 +594,6 @@ Options:
|
||||||
Ignore any `# noqa` comments
|
Ignore any `# noqa` comments
|
||||||
--output-format <OUTPUT_FORMAT>
|
--output-format <OUTPUT_FORMAT>
|
||||||
Output serialization format for violations. The default serialization
|
Output serialization format for violations. The default serialization
|
||||||
format is "concise". In preview mode, the default serialization
|
|
||||||
format is "full" [env: RUFF_OUTPUT_FORMAT=] [possible values: text,
|
format is "full" [env: RUFF_OUTPUT_FORMAT=] [possible values: text,
|
||||||
concise, full, json, json-lines, junit, grouped, github, gitlab,
|
concise, full, json, json-lines, junit, grouped, github, gitlab,
|
||||||
pylint, rdjson, azure, sarif]
|
pylint, rdjson, azure, sarif]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue