mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-07 05:26:53 +00:00
Add --extend-select command line argument
Implement `--extend-select` command line argument following what was done for `--extend-ignore` in !233. This option can be used to selectively add individual codes without overriding the default list entirely. Addresses the remaining item of issue #365.
This commit is contained in:
parent
a7be77f761
commit
7db4f246a7
6 changed files with 83 additions and 17 deletions
|
|
@ -115,6 +115,10 @@ And you should see something like:
|
|||
run. (Default: 79)
|
||||
--select=errors Comma-separated list of errors and warnings to enable.
|
||||
For example, ``--select=E4,E51,W234``. (Default: )
|
||||
--extend-select errors
|
||||
Comma-separated list of errors and warnings to add to
|
||||
the list of selected ones. For example, ``--extend-
|
||||
select=E4,E51,W234``.
|
||||
--disable-noqa Disable the effect of "# noqa". This will report
|
||||
errors on lines with "# noqa" at the end.
|
||||
--show-source Show the source generate each error or warning.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue