mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 21:16:54 +00:00
remove --diff option
This commit is contained in:
parent
86268cbde8
commit
fba6df88f9
18 changed files with 11 additions and 526 deletions
|
|
@ -44,8 +44,6 @@ Index of Options
|
|||
|
||||
- :option:`flake8 --count`
|
||||
|
||||
- :option:`flake8 --diff`
|
||||
|
||||
- :option:`flake8 --exclude`
|
||||
|
||||
- :option:`flake8 --filename`
|
||||
|
|
@ -230,27 +228,6 @@ Options and their Descriptions
|
|||
count = True
|
||||
|
||||
|
||||
.. option:: --diff
|
||||
|
||||
:ref:`Go back to index <top>`
|
||||
|
||||
.. warning::
|
||||
|
||||
Due to hiding potential errors, this option is deprecated and will be
|
||||
removed in a future version.
|
||||
|
||||
Use the unified diff provided on standard in to only check the modified
|
||||
files and report errors included in the diff.
|
||||
|
||||
Command-line example:
|
||||
|
||||
.. prompt:: bash
|
||||
|
||||
git diff -u | flake8 --diff
|
||||
|
||||
This **can not** be specified in config files.
|
||||
|
||||
|
||||
.. option:: --exclude=<patterns>
|
||||
|
||||
:ref:`Go back to index <top>`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue