Path to this page:
Subject: CVS commit: pkgsrc/devel/py-flake8
From: Adam Ciarcinski
Date: 2020-05-12 08:40:19
Message id: 20200512064019.66D2FFB27@cvs.NetBSD.org
Log Message:
py-flake8: updated to 3.8.1
3.8.1:
Bugs Fixed
- Fix ``--output-file``
3.8.0:
Bugs Fixed
- Fix logical checks which report positions out of bounds
- Fix ``--exclude=.*`` accidentally matching ``.`` and ``..``
Deprecations
- Add deprecation message for vcs hooks
3.8.0a2:
Bugs Fixed
- Fix ``type="str"`` optparse options
3.8.0a1:
New Dependency Information
- Remove dependency on ``entrypoints`` and add dependency on
``importlib-metadata`` (only for ``python<3.8``)
- Pyflakes has been updated to >= 2.2.0, < 2.3.0
- pycodestyle has been updated to >= 2.6.0a1, < 2.7.0
Features
- Add ``--extend-exclude`` option to add to ``--exclude`` without overwriting
- Move argument parsing from ``optparse`` to ``argparse``
- Group plugin options in ``--help``
- Remove parsing of ``verbose`` from configuration files as it was not
consistently applied
- Remove parsing of ``output_file`` from configuration files as it was not
consistently applied
- Resolve configuration files relative to ``cwd`` instead of common prefix of
passed filenames. You may need to change ``flake8 subproject`` to
``cd subproject && flake8 .``
- Officially support python3.8
- ``--disable-noqa`` now also disables ``# flake8: noqa``
- Ensure that a missing file produces a ``E902`` error
- ``# noqa`` comments now apply to all of the lines in an explicit ``\``
continuation or in a line continued by a multi-line string
Bugs Fixed
- Fix ``--exclude=./t.py`` to only match ``t.py`` at the top level
- Fix ``--show-source`` when a file is indented with tabs
- Fix crash when ``--max-line-length`` is given a non-integer
- Prevent flip-flopping of ``indent_char`` causing extra ``E101`` errors
- Only enable multiprocessing when the method is ``fork`` fixing issues
on macos with python3.8+
- ``noqa`` is now only handled by flake8 fixing specific-noqa. Plugins
requesting this parameter will always receive ``False``
- Fix duplicate loading of plugins when invoked via ``python -m flake8``
- Fix early exit when ``--exit-zero`` and ``--diff`` are provided and the diff
is empty
- Consistently split lines when ``\f`` is present when reading from stdin
Deprecations
- ``python setup.py flake8`` (setuptools integration) is now deprecated and
will be removed in a future version
- ``type='string'`` (optparse) types are deprecated, use
``type=callable`` (argparse) instead. Support for ``type='string'`` will
be removed in a future version
- ``%default`` in plugin option help text is deprecated, use ``%(default)s``
instead. Support for ``%default`` will be removed in a future version
- optparse-style ``action='callback'`` setting for options is deprecated, use
argparse action classes instead. This will be removed in a future version
Files: