Skip to content

Commit

Permalink
Remove "default" remark from ruff check (#13900)
Browse files Browse the repository at this point in the history
## 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.
  • Loading branch information
mihaic authored Oct 24, 2024
1 parent 2c57c2d commit de4181d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/ruff/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub struct Args {
#[allow(clippy::large_enum_variant)]
#[derive(Debug, clap::Subcommand)]
pub enum Command {
/// Run Ruff on the given files or directories (default).
/// Run Ruff on the given files or directories.
Check(CheckCommand),
/// Explain a rule (or all rules).
#[command(group = clap::ArgGroup::new("selector").multiple(false).required(true))]
Expand Down
4 changes: 2 additions & 2 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ Ruff: An extremely fast Python linter and code formatter.
Usage: ruff [OPTIONS] <COMMAND>
Commands:
check Run Ruff on the given files or directories (default)
check Run Ruff on the given files or directories
rule Explain a rule (or all rules)
config List or describe the available configuration options
linter List all supported upstream linters
Expand Down Expand Up @@ -557,7 +557,7 @@ Or `ruff help check` for more on the linting command:
<!-- Begin auto-generated check help. -->

```text
Run Ruff on the given files or directories (default)
Run Ruff on the given files or directories
Usage: ruff check [OPTIONS] [FILES]...
Expand Down

0 comments on commit de4181d

Please sign in to comment.