Skip to content

Commit de4181d

Browse files
authored
Remove "default" remark from ruff check (#13900)
## Summary `ruff check` has not been the default in a long time. However, the help message and code comment still designate it as the default. The remark should have been removed in the deprecation PR #10169. ## Test Plan Not tested.
1 parent 2c57c2d commit de4181d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/ruff/src/args.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ pub struct Args {
9292
#[allow(clippy::large_enum_variant)]
9393
#[derive(Debug, clap::Subcommand)]
9494
pub enum Command {
95-
/// Run Ruff on the given files or directories (default).
95+
/// Run Ruff on the given files or directories.
9696
Check(CheckCommand),
9797
/// Explain a rule (or all rules).
9898
#[command(group = clap::ArgGroup::new("selector").multiple(false).required(true))]

docs/configuration.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ Ruff: An extremely fast Python linter and code formatter.
515515
Usage: ruff [OPTIONS] <COMMAND>
516516
517517
Commands:
518-
check Run Ruff on the given files or directories (default)
518+
check Run Ruff on the given files or directories
519519
rule Explain a rule (or all rules)
520520
config List or describe the available configuration options
521521
linter List all supported upstream linters
@@ -557,7 +557,7 @@ Or `ruff help check` for more on the linting command:
557557
<!-- Begin auto-generated check help. -->
558558

559559
```text
560-
Run Ruff on the given files or directories (default)
560+
Run Ruff on the given files or directories
561561
562562
Usage: ruff check [OPTIONS] [FILES]...
563563

0 commit comments

Comments
 (0)