communicate that --select is usually unnecessary

This commit is contained in:
Anthony Sottile 2022-12-14 12:55:37 -05:00
parent 780f64fdd2
commit 837e81948b
5 changed files with 17 additions and 10 deletions

View file

@ -607,13 +607,14 @@ Options and their Descriptions
:ref:`Go back to index <top>`
**You usually do not need to specify this option as the default includes
all installed plugin codes.**
Specify the list of error codes you wish |Flake8| to report. Similarly to
:option:`--ignore`. You can specify a portion of an error code to get all
that start with that string. For example, you can use ``E``, ``E4``,
``E43``, and ``E431``.
This defaults to: ``E,F,W,C90``
Command-line example:
.. prompt:: bash
@ -649,6 +650,9 @@ Options and their Descriptions
.. versionadded:: 4.0.0
**You usually do not need to specify this option as the default includes
all installed plugin codes.**
Specify a list of codes to add to the list of selected ones. Similar
considerations as in :option:`--select` apply here with regard to the
value.