mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 21:05:08 +00:00
Clarify extend-select
documentation (#10467)
<!-- Thank you for contributing to Ruff! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary Clarify `extend-select` documentation to avoid confusion regarding the default `select`. Also match the `select` documentation. Resolves #10389. ## Test Plan <!-- How was it tested? -->
This commit is contained in:
parent
938118b65c
commit
363ff2a87e
1 changed files with 1 additions and 1 deletions
|
@ -596,7 +596,7 @@ pub struct LintCommonOptions {
|
|||
default = "[]",
|
||||
value_type = "list[RuleSelector]",
|
||||
example = r#"
|
||||
# On top of the default `select` (`E`, `F`), enable flake8-bugbear (`B`) and flake8-quotes (`Q`).
|
||||
# On top of the default `select` (`E4`, E7`, `E9`, and `F`), enable flake8-bugbear (`B`) and flake8-quotes (`Q`).
|
||||
extend-select = ["B", "Q"]
|
||||
"#
|
||||
)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue