Add note about # noqa: <errors>

This commit is contained in:
Ian Cordasco 2016-06-15 07:48:46 -05:00
parent 3af48abac6
commit 25502f6ade
No known key found for this signature in database
GPG key ID: 656D3395E4A9791A

View file

@ -3,16 +3,21 @@
- Rewrite our documentation from scratch! (http://flake8.pycqa.org) - Rewrite our documentation from scratch! (http://flake8.pycqa.org)
- ``--select`` and ``--ignore`` can now both be specified and try to find the - Drop explicit support for Pythons 2.6, 3.2, and 3.3.
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.
- Remove dependence on pep8/pycodestyle for file processing, plugin - Remove dependence on pep8/pycodestyle for file processing, plugin
dispatching, and more. We now control all of this while keeping backwards dispatching, and more. We now control all of this while keeping backwards
compatibility. 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 - Add entry-point for formatters as well as a base class that new formatters
can inherit from. See the documentation for more details. can inherit from. See the documentation for more details.