From 4414f54e00cff6a6c95063dd8e44e5278f1b7ada Mon Sep 17 00:00:00 2001 From: Dani Bodor Date: Mon, 8 Jul 2024 19:04:56 +0200 Subject: [PATCH 1/2] update help for output-format --- crates/ruff/src/args.rs | 3 +-- docs/configuration.md | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/crates/ruff/src/args.rs b/crates/ruff/src/args.rs index f6fe0c8993fbe..e5fb33d812135 100644 --- a/crates/ruff/src/args.rs +++ b/crates/ruff/src/args.rs @@ -182,8 +182,7 @@ pub struct CheckCommand { ignore_noqa: bool, /// Output serialization format for violations. - /// The default serialization format is "concise". - /// In preview mode, the default serialization format is "full". + /// The default serialization format is "full". #[arg(long, value_enum, env = "RUFF_OUTPUT_FORMAT")] pub output_format: Option, diff --git a/docs/configuration.md b/docs/configuration.md index fdca511a0a2c8..b257c7e921952 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -594,10 +594,9 @@ Options: Ignore any `# noqa` comments --output-format 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, - concise, full, json, json-lines, junit, grouped, github, gitlab, - pylint, rdjson, azure, sarif] + format is "full" [env: RUFF_OUTPUT_FORMAT=] [possible values: concise, + full, json, json-lines, junit, grouped, github, gitlab, pylint, rdjson, + azure, sarif] -o, --output-file Specify file to write the linter output to (default: stdout) [env: RUFF_OUTPUT_FILE=] From 5be99b3db44ec756681b3eb7fcbc963ce0cc17d1 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Mon, 8 Jul 2024 19:38:21 -0700 Subject: [PATCH 2/2] Run update --- docs/configuration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index b257c7e921952..c69a92b69c09f 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -594,9 +594,9 @@ Options: Ignore any `# noqa` comments --output-format Output serialization format for violations. The default serialization - format is "full" [env: RUFF_OUTPUT_FORMAT=] [possible values: concise, - full, json, json-lines, junit, grouped, github, gitlab, pylint, rdjson, - azure, sarif] + format is "full" [env: RUFF_OUTPUT_FORMAT=] [possible values: text, + concise, full, json, json-lines, junit, grouped, github, gitlab, + pylint, rdjson, azure, sarif] -o, --output-file Specify file to write the linter output to (default: stdout) [env: RUFF_OUTPUT_FILE=]