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

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


Branch: CURRENT, Version: 7.1.1, Package name: py312-flake8-7.1.1, 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:

Filesize: 46.928 KB

Version history: (Expand)


CVS history: (Expand)


   2024-01-07 17:17:12 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-flake8: update to 7.0.0.

Changes not found.
   2023-07-31 18:22:43 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-flake8: updated to 6.1.0

6.1.0

New Dependency Information

Pyflakes has been updated to >= 3.1.0, < 3.2.0
pycodestyle has been updated to >= 2.11.0, < 2.12.0

Features

Deprecate --include-in-doctest, --exclude-from-doctest
Add support for python 3.12
   2023-04-30 19:08:14 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
py-flake8: update to 6.0.0.

6.0.0 -- 2022-11-23
-------------------

Backwards Incompatible Changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Remove ``--diff`` option (See also :issue:`1389`, :pull:`1720`).
- Produce an error when invalid codes are specified in configuration (See also
  :issue:`1689`, :pull:`1713`).
- Produce an error if the file specified in ``--extend-config`` does not exist
  (See also :issue:`1729`, :pull:`1732`).
- Remove ``optparse`` compatibility support (See also :pull:`1739`).

New Dependency Information
~~~~~~~~~~~~~~~~~~~~~~~~~~

- pycodestyle has been updated to >= 2.10.0, < 2.11.0 (See also :pull:`1746`).
- Pyflakes has been updated to >= 3.0.0, < 3.1.0 (See also :pull:`1748`).

Features
~~~~~~~~

- Require python >= 3.8.1 (See also :pull:`1633`, :pull:`1741`).
- List available formatters in for ``--format`` option in ``--help`` (See also
  :issue:`223`, :pull:`1624`).
- Improve multiprocessing performance (See also :pull:`1723`).
- Enable multiprocessing on non-fork platforms (See also :pull:`1723`).
- Ensure results are sorted when discovered from files (See also :issue:`1670`,
  :pull:`1726`).

5.0.4 -- 2022-08-03
-------------------

Bugs Fixed
~~~~~~~~~~

- Set a lower bound on ``importlib-metadata`` to prevent ``RecursionError``
  (See also :issue:`1650`, :pull:`1653`).

5.0.3 -- 2022-08-01
-------------------

Bugs Fixed
~~~~~~~~~~

- Work around partial reads of configuration files with syntax errors (See
  also :issue:`1647`, :pull:`1648`).

5.0.2 -- 2022-08-01
-------------------

Bugs Fixed
~~~~~~~~~~

- Fix execution on python == 3.8.0 (See also :issue:`1637`, :pull:`1641`).
- Fix config discovery when home does not exist (See also :issue:`1640`,
  :pull:`1642`).

5.0.1 -- 2022-07-31
-------------------

Bugs Fixed
~~~~~~~~~~

- Fix duplicate plugin discovery on misconfigured pythons (See also
  :issue:`1627`, :pull:`1631`).

5.0.0 -- 2022-07-30
-------------------

Backwards Incompatible Changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Remove ``indent_size_str`` (See also :pull:`1411`).
- Remove some dead code (See also :pull:`1453`, :pull:`1540`, :pull:`1541`).
- Missing explicitly-specified configuration is now an error (See also
  :issue:`1497`, :pull:`1498`).
- Always read configuration files as UTF-8 (See also :issue:`1532`,
  :pull:`1533`).
- Remove manpage from docs -- use ``help2man`` or related tools instead (See
  also :pull:`1557`).
- Forbid invalid plugin codes (See also :issue:`325`, :pull:`1579`).

Deprecations
~~~~~~~~~~~~

- Deprecate ``--diff`` option (See also :issue:`1389`, :pull:`1441`).

New Dependency Information
~~~~~~~~~~~~~~~~~~~~~~~~~~

- pycodestyle has been updated to >= 2.9.0, < 2.10.0 (See also :pull:`1626`).
- Pyflakes has been updated to >= 2.5.0, < 2.6.0 (See also :pull:`1625`).
- mccabe has been updated to >= 0.7.0, < 0.8.0 (See also :pull:`1542`).

Features
~~~~~~~~

- Add colors to output, configurable via ``--color`` (See also :issue:`1379`,
  :pull:`1440`).
- Add ``.nox`` to the default exclude list (See also :issue:`1442`,
  :pull:`1443`).
- Don't consider a config file which does not contain flake8 settings (See
  also :issue:`199`, :pull:`1472`).
- Duplicate ``local-plugins`` names are now allowed (See also :issue:`362`,
  :pull:`1504`).
- Consider ``.`` to be a path in config files (See also :issue:`1494`,
  :pull:`1508`)
- Add ``--require-plugins`` option taking distribution names (See also
  :issue:`283`, :pull:`1535`).
- Improve performance by removing debug logs (See also :pull:`1537`,
  :pull:`1544`).
- Include failing file path in plugin execution error (See also :issue:`265`,
  :pull:`1543`).
- Improve performance by pre-generating a ``pycodestyle`` plugin (See also
  :pull:`1545`).
- Properly differentiate between explicitly ignored / selected and default
  ignored / selected options (See also :issue:`284`, :pull:`1576`,
  :pull:`1609`).

Bugs Fixed
~~~~~~~~~~

- Fix physical line plugins not receiving all lines in the case of
  triple-quoted strings (See also :issue:`1534`, :pull:`1536`).
- Fix duplicate error logging in the case of plugin issues (See also
  :pull:`1538`).
- Fix inconsistent ordering of ``--ignore`` in ``--help`` (See also
  :issue:`1550`, :pull:`1552`).
- Fix memory leak of style guides by avoiding ``@lru_cache`` of a method (See
  also :pull:`1573`).
- Fix ignoring of configuration files exactly in the home directory (See also
  :issue:`1617`, :pull:`1618`).
   2023-03-29 11:34:15 by Thomas Klausner | Files touched by this commit (96)
Log message:
*: use PYTHON_VERSION instead of _PYTHON_VERSION
   2022-02-01 11:02:44 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-flake8: disable python 2.7 earlier so it works
   2022-01-29 09:56:52 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
py310-flake8: update to 4.0.1.

4.0.1 -- 2021-10-11
-------------------

Bugs Fixed
~~~~~~~~~~

- Fix parallel execution collecting a ``SyntaxError`` (See also :pull:`1410`
  :issue:`1408`).

4.0.0 -- 2021-10-10
-------------------

Backwards Incompatible Changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Remove ``--install-hook`` vcs integration (See also :issue:`1008`).
- Remove ``setuptools`` command (See also :issue:`1009`).
- Migrate from GitLab to GitHub (See also :pull:`1305`).
- Due to constant confusion by users, user-level |Flake8| configuration files
  are no longer supported. Files will not be searched for in the user's home
  directory (e.g., ``~/.flake8``) nor in the XDG config directory (e.g.,
  ``~/.config/flake8``).  (See also :pull:`1404`).

New Dependency Information
~~~~~~~~~~~~~~~~~~~~~~~~~~

- pycodestyle has been updated to >= 2.8.0, < 2.9.0 (See also :pull:`1406`).
- Pyflakes has been updated to >= 2.4.0, < 2.5.0 (See also :pull:`1406`).
- flake8 requires python >= 3.6 (See also :issue:`1010`).

Features
~~~~~~~~

- Add ``--extend-select`` option (See also :pull:`1312` :issue:`1061`).
- Automatically create directories for output files (See also :pull:`1329`).

Bugs Fixed
~~~~~~~~~~

- ``ast`` parse before tokenizing to improve ``SyntaxError`` errors (See also
  :pull:`1320` :issue:`740`).
- Fix warning in ``--indent-size`` argparse help (See also :pull:`1367`).
- Fix handling ``SyntaxError`` in python 3.10+ (See also :pull:`1374`
  :issue:`1372`).
- Fix writing non-cp1252-encodable when output is piped on windows (See also
  :pull:`1382` :issue:`1381`).
   2022-01-27 11:03:27 by Thomas Klausner | Files touched by this commit (3)
Log message:
py-flake8: relax restrictions

Bump PKGREVISION
   2022-01-25 10:05:12 by Thomas Klausner | Files touched by this commit (10)
Log message:
*: use versioned_dependencies.mk for py-importlib-metadata