./devel/py-flake8, Modular source code checker for Python programs

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.8.3, Package name: py37-flake8-3.8.3, Maintainer: pkgsrc-users

Flake8 is a wrapper around these tools:

* PyFlakes
* pep8
* Ned Batchelder's McCabe script

Flake8 runs all the tools by launching the single flake8 script.
It displays the warnings in a per-file, merged output.


Required to run:
[devel/py-setuptools] [devel/py-flakes] [devel/py-mccabe] [devel/py-codestyle] [lang/python37] [devel/py-importlib-metadata]

Required to build:
[pkgtools/cwrappers] [devel/py-test-runner]

Master sites:

SHA1: 5b17a989817f358f483e234727f39a77f96271d6
RMD160: 3032ad1c16717ffbb17db9b6b607b5eeb79a7c18
Filesize: 158.501 KB

Version history: (Expand)


CVS history: (Expand)


   2020-06-11 12:58:05 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-flake8: updated to 3.8.3

3.8.3:
Bugs Fixed
- Also catch ``SyntaxError`` when tokenizing
- Fix ``--jobs`` default display in ``flake8 --help``
   2020-05-23 09:43:46 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-flake8: updated to 3.8.2

3.8.2:

Bugs Fixed
- Improve performance by eliminating unncessary sort
- Improve messaging of ``--jobs`` argument by utilizing ``argparse``
- Fix file configuration options to be relative to the config passed on the
  command line
- Fix incorrect handling of ``--extend-exclude`` by treating its values as
  files
   2020-05-12 08:40:19 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
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
   2020-05-03 11:59:52 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
py-flake8: allow newer pyflakes
   2020-03-15 14:45:07 by Roland Illig | Files touched by this commit (1)
Log message:
devel/py-flake8: fix TEST_DEPENDS for py27

The dependency py-test-[0-9]* resolves to devel/py-test5, but that
version does not support Python 2.7 anymore.
   2019-11-05 09:58:17 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-flake8: updated to 3.7.9

3.7.9:
Bugs Fixed
- Disable multiprocessing when the multiprocessing method is ``spawn`` (such
  as on macos in python3.8)
   2019-07-09 13:19:33 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-flake8: updated to 3.7.8

3.7.8:
Bugs Fixed
- Fix handling of Application.parse_preliminary_options_and_args when
  argv is an empty list
- Fix crash when a file parses but fails to tokenize
- Log the full traceback on plugin exceptions
- Fix # noqa: ... comments with multi-letter codes
   2019-05-02 11:16:48 by Adam Ciarcinski | Files touched by this commit (10)
Log message:
Forget about Python 3.4