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:
Auguste Lalande 2024-03-19 04:51:31 -04:00 committed by GitHub
parent 938118b65c
commit 363ff2a87e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"]
"#
)]