mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-01 03:26:52 +00:00
communicate that --select is usually unnecessary
This commit is contained in:
parent
780f64fdd2
commit
837e81948b
5 changed files with 17 additions and 10 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue