mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-04 20:26:53 +00:00
Add note about # noqa: <errors>
This commit is contained in:
parent
3af48abac6
commit
25502f6ade
1 changed files with 10 additions and 5 deletions
|
|
@ -3,16 +3,21 @@
|
|||
|
||||
- Rewrite our documentation from scratch! (http://flake8.pycqa.org)
|
||||
|
||||
- ``--select`` and ``--ignore`` can now both be specified and try to find the
|
||||
most specific rule from each. For example, if you do ``--select E --ignore
|
||||
E123`` then we will report everything that starts with ``E`` except for
|
||||
``E123``. Previously, you would have had to do ``--ignore E123,F,W`` which
|
||||
will also still work, but the former should be far more intuitive.
|
||||
- Drop explicit support for Pythons 2.6, 3.2, and 3.3.
|
||||
|
||||
- Remove dependence on pep8/pycodestyle for file processing, plugin
|
||||
dispatching, and more. We now control all of this while keeping backwards
|
||||
compatibility.
|
||||
|
||||
- ``--select`` and ``--ignore`` can now both be specified and try to find the
|
||||
most specific rule from each. For example, if you do ``--select E --ignore
|
||||
E123`` then we will report everything that starts with ``E`` except for
|
||||
``E123``. Previously, you would have had to do ``--ignore E123,F,W`` which
|
||||
will also still work, but the former should be far more intuitive.
|
||||
|
||||
- Add support for in-line ``# noqa`` comments to specify **only** the error
|
||||
codes to be ignored, e.g., ``# noqa: E123,W503``
|
||||
|
||||
- Add entry-point for formatters as well as a base class that new formatters
|
||||
can inherit from. See the documentation for more details.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue