mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-13 08:04:18 +00:00
Switching to --enable-extensions instead of --select
Signed-off-by: Jason Myers <jason@jasonamyers.com>
This commit is contained in:
parent
a08a65b982
commit
b0a6bada5c
1 changed files with 3 additions and 3 deletions
|
|
@ -117,9 +117,9 @@ update ``mccabe.py`` with this variable as shown below:
|
||||||
off_by_default = True
|
off_by_default = True
|
||||||
|
|
||||||
If we wanted to run the optional extension or check, we need to specify the
|
If we wanted to run the optional extension or check, we need to specify the
|
||||||
error and warnings via the ``select`` setting or command line argument. In our
|
error and warnings via the ``--enable-extension`` command line argument. In our
|
||||||
case, we could run ``flake8 --select=C90`` which would run our off_by_default
|
case, we could run ``flake8 --enable-extension=C90`` which would enable our
|
||||||
example version of the mccabe extension.
|
off_by_default example version of the mccabe extension.
|
||||||
|
|
||||||
|
|
||||||
Existing Extensions
|
Existing Extensions
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue