astral-sh / astral-sh/ruff

CLI: Display non-default ignore file option

Open
#7,348 0 comments 0 reactions 0 assignees View on GitHub
cli
Dominant language
Rust
Stars
49.6k
Forks
2.4k
Avg merge
2d 1h
Merged PRs (30d)
458

Description

We currently have `--respect-gitignore` / `--no-respect-gitignore` flags which toggle automatic exclusion of files listed in a `.gitignore` file and “other standard ignore files”. The CLI help menu displays `--respect-gitignore` but it is already the default behavior. Instead, it should display the negative option to clarify the default behavior.

Contributor guide

Open the contributing guide

Research direction

Start at the CLI option definition and help output for --respect-gitignore and --no-respect-gitignore. Run the CLI help command to confirm the current display, then verify that the negative option is shown while the default ignore behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.