The NetBSD Project

CVS log for pkgsrc/devel/py-flake8/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-flake8

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Nov 11 07:28:08 2024 UTC (4 weeks, 1 day ago) by wiz
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +1 -2 lines
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays

Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Aug 6 12:34:35 2024 UTC (4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2 lines
py-flake8: updated to 7.1.1

7.1.1

Bugs Fixed

Properly preserve escaped { and } in fstrings in logical lines in 3.12+.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Jun 17 08:07:10 2024 UTC (5 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -4 lines
py-flake8: updated to 7.1.0

7.1.0
pycodestyle has been updated to >= 2.12.0, < 2.13.0

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Jan 7 16:17:11 2024 UTC (11 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +5 -5 lines
py-flake8: update to 7.0.0.

Changes not found.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Jul 31 16:22:43 2023 UTC (16 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +7 -14 lines
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

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Apr 30 17:08:14 2023 UTC (19 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +8 -15 lines
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`).

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Mar 29 09:34:06 2023 UTC (20 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
*: use PYTHON_VERSION instead of _PYTHON_VERSION

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Feb 1 10:02:44 2022 UTC (2 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +6 -3 lines
py-flake8: disable python 2.7 earlier so it works

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Jan 29 08:56:51 2022 UTC (2 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +8 -16 lines
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`).

Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Jan 27 10:03:27 2022 UTC (2 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2 lines
py-flake8: relax restrictions

Bump PKGREVISION

Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Jan 25 09:05:10 2022 UTC (2 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +6 -2 lines
*: use versioned_dependencies.mk for py-importlib-metadata

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Jan 5 15:41:04 2022 UTC (2 years, 11 months ago) by wiz
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -2 lines
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Jan 4 20:53:05 2022 UTC (2 years, 11 months ago) by wiz
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -1 lines
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon May 10 05:57:50 2021 UTC (3 years, 7 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2 lines
py-flake8: updated to 3.9.2

3.9.2 -- 2021-05-08
-------------------
You can view the `3.9.2 milestone`_ on GitHub for more details.

Bugs Fixed
- Fix error message for ``E111`` in ``pycodestyle`` (See also :pull:`1328`,
  :issue:`1327`).

Deprecations
- ``indent_size_str`` is deprecated, use ``str(indent_size)`` instead (See
  also :pull:`1328`, :issue:`1327`).

Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Apr 16 08:52:34 2021 UTC (3 years, 7 months ago) by adam
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
py-flake8: updated to 3.9.1

3.9.1:

Bugs Fixed
- Fix codes being ignored by plugins utilizing ``extend_default_ignore``

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Mar 15 07:22:22 2021 UTC (3 years, 8 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -4 lines
py-flake8: updated to 3.9.0

3.9.0 -- 2021-03-14
-------------------

You can view the `3.9.0 milestone`_ on GitLab for more details.

New Dependency Information
- Pyflakes has been updated to >= 2.3.0, < 2.4.0 (See also `GitLab!466`_)
- pycodestyle has been updated to >= 2.7.0, < 2.8.0 (See also `GitLab!467`_)

Deprecations
- Drop support for python 3.4 (See also `GitLab!457`_)

Features
- Add ``--no-show-source`` option to disable ``--show-source`` (See also
  `GitLab!441`_)

Bugs Fixed
- Fix handling of ``crlf`` line endings when linting stdin (See also
  `GitLab!461`_)

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Oct 3 06:02:18 2020 UTC (4 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -3 lines
py-flake8: updated to 3.8.4

3.8.4

Bugs Fixed
- Fix multiprocessing errors on platforms without ``sem_open`` syscall.
- Fix skipping of physical checks on the last line of a file which does not
  end in a newline.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Jun 11 10:58:05 2020 UTC (4 years, 6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
py-flake8: updated to 3.8.3

3.8.3:
Bugs Fixed
- Also catch ``SyntaxError`` when tokenizing
- Fix ``--jobs`` default display in ``flake8 --help``

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat May 23 07:43:46 2020 UTC (4 years, 6 months ago) by adam
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
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

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue May 12 06:40:19 2020 UTC (4 years, 7 months ago) by adam
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +7 -6 lines
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

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun May 3 09:59:52 2020 UTC (4 years, 7 months ago) by adam
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -1 lines
py-flake8: allow newer pyflakes

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Mar 15 13:45:07 2020 UTC (4 years, 8 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
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.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Nov 5 08:58:17 2019 UTC (5 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +5 -2 lines
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)

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Jul 9 11:19:33 2019 UTC (5 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
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

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu May 2 09:16:47 2019 UTC (5 years, 7 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -3 lines
Forget about Python 3.4

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Feb 26 10:54:11 2019 UTC (5 years, 9 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
py-flake8: updated to 3.7.7

3.7.7:
Bugs Fixed
- Fix crahes in plugins causing flake8 to hang while unpickling errors

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Feb 19 08:27:47 2019 UTC (5 years, 9 months ago) by adam
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
py-flake8: updated to 3.7.6

3.7.6:
Bugs Fixed
Fix --per-file-ignores for multi-letter error codes
Improve flake8 speed when only 1 filename is passed

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Feb 5 12:43:40 2019 UTC (5 years, 10 months ago) by adam
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
py-flake8: updated to 3.7.5

3.7.5:
Bugs Fixed
- Fix reporting of pyflakes "referenced before assignment" error

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Feb 1 09:20:48 2019 UTC (5 years, 10 months ago) by adam
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
py-flake8: updated to 3.7.4

3.7.4:
Bugs Fixed
Fix performance regression with lots of per-file-ignores and errors

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Jan 31 08:10:41 2019 UTC (5 years, 10 months ago) by adam
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
py-flake8: updated to 3.7.3

3.7.3:
Bugs Fixed
Fix imports of typing in python 3.5.0 / 3.5.1
Fix flake8 --statistics
Gracefully ignore flake8-per-file-ignores plugin if installed
Improve error message for malformed per-file-ignores

3.7.2:
Bugs Fixed
Fix broken flake8 --diff (regressed in 3.7.0)
Fix typo in plugin exception reporting
Fix AttributeError while attempting to use the legacy api (regressed in
3.7.0)

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jan 30 22:53:11 2019 UTC (5 years, 10 months ago) by adam
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +12 -6 lines
py-flake8: updated to 3.7.1

3.7.1:
Bugs Fixed
- Fix capitalized filenames in per-file-ignores setting

3.7.0:
New Dependency Information
- Add dependency on entrypoints >= 0.3, < 0.4
- Pyflakes has been updated to >= 2.1.0, < 2.2.0
- pycodestyle has been updated to >= 2.5.0, < 2.6.0

Features
- Add support for per-file-ignores
- Enable use of float and complex option types
- Improve startup performance by switching from pkg_resources to
  entrypoints
- Add metadata for use through the pre-commit_ git hooks framework
- Allow physical line checks to return more than one result
- Allow # noqa:X123 comments without space between the colon and codes
  list
- Remove broken and unused flake8.listen plugin type

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Nov 4 22:24:39 2018 UTC (6 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
py-flake8: Fix DEPENDS

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Oct 24 10:35:46 2018 UTC (6 years, 1 month ago) by adam
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +9 -8 lines
py-flake8: updated to 3.6.0

3.6.0:

Features
Add paths to allow local plugins to exist outside of sys.path
Copy setup.cfg files to the temporary git hook execution directory
Only skip a file if flake8: noqa is on a line by itself
Provide a better user experience for broken plugins
Report E902 when a file passed on the command line does not exist
Add --extend-ignore for extending the default ignore instead of overriding it

Bugs Fixed
Respect a formatter’s newline setting when printing
Fix leaking of processes in the legacy api
Fix a SyntaxWarning for an invalid escape sequence
Fix DeprecationWarning due to import of abc classes from the collections module
Defer setuptools import to improve flake8 startup time
Fix inconsistent line endings in FileProcessor.lines when running under python 3.x

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Sep 28 15:45:15 2018 UTC (6 years, 2 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -4 lines
py-flake8: build dependency on py-test-runner is unconditional

without it the py27 package will try to fetch the dep from pypi.org
at build time.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Jun 18 11:17:54 2018 UTC (6 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
py-flake8: fix for py-flakes 2.0.0; revbump

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue May 15 06:26:50 2018 UTC (6 years, 6 months ago) by adam
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
py-flake8: updated HOMEPAGE

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon May 14 10:26:28 2018 UTC (6 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -3 lines
py-flake8: remove comment about test failures, gone in latest release

Noted by leot@

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon May 14 07:39:55 2018 UTC (6 years, 6 months ago) by leot
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -2 lines
py-flake8: Backport patches from upstream for py-codestyle-2.4.0 update

Adjust py-flake8 after py-codestyle-2.4.0 update. Backport all
relevant commits from upstream to address that.
(They will not be needed for next stable version of py-flake8)

PKGREVISION++

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Mar 23 21:09:11 2018 UTC (6 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -3 lines
Move py-test-runner dependency into the !py27 case as build dependency.
Contrary to the name, setuptools whines and wants to RCE the system if
it isn't installed.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Mar 21 12:05:28 2018 UTC (6 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -4 lines
Switch to TEST_DEPENDS to unbreak dependency loop.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Oct 23 20:44:27 2017 UTC (7 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -8 lines
py-flake8: update to 3.5.0

3.5.0:

New Dependency Information
* Allow for PyFlakes 1.6.0
* Start using new PyCodestyle checks for bare excepts and ambiguous identifier

Features
* Print out information about configuring VCS hooks
* Allow users to develop plugins “local” to a repository without using setuptools. See our documentation on local plugins for more information.

Bugs Fixed
* Catch and helpfully report UnicodeDecodeErrors when parsing configuration files.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Jul 30 05:31:12 2017 UTC (7 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
3.4.1:
Fix minor regression when users specify only a --select list with items
in the enabled/extended select list.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jul 28 07:15:08 2017 UTC (7 years, 4 months ago) by adam
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
3.4.0:

You can view the `3.4.0 milestone`_ on GitLab for more details.

- Refine logic around ``--select`` and ``--ignore`` when combined with the
  default values for each.

- Handle spaces as an alternate separate for error codes, e.g.,
  ``--ignore 'E123 E234'``.

- Filter out empty select and ignore codes, e.g., ``--ignore E123,,E234``.

- Specify dependencies appropriately in ``setup.py``

- Fix bug in parsing ``--quiet`` and ``--verbose`` from config files.

- Remove unused import of ``os`` in the git hook template

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Jun 9 13:57:54 2017 UTC (7 years, 6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -1 lines
Added dependencies for Python 2.7

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Feb 13 11:22:54 2017 UTC (7 years, 9 months ago) by wen
Branches: MAIN
CVS tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
Update to 3.3.0

Upstream changes:
3.3.0 -- 2017-02-06
You can view the 3.3.0 milestone on GitLab for more details.

Add support for Python 3.6 (via dependencies). Note Flake8 does not
guarantee that all plugins will support Python 3.6.
Added unique error codes for all missing PyFlakes messages. (14 new
codes, see "Error / Violation Codes")
Dramatically improve the performance of Flake8. (See also GitLab!156)
Display the local file path instead of the temporary file path when
using the git hook. (See also GitLab#244)
Add methods to Report class that will be called when Flake8 starts and
finishes processing a file. (See also GitLab#251)
Fix problem where hooks should only check *.py files. (See also
GitLab#268)
Fix handling of SyntaxErrors that do not include physical line information.
(See also GitLab#279)
Update upper bound on PyFlakes to allow for PyFlakes 1.5.0.  (See also
GitLab#290)
Update setuptools integration to less eagerly deduplicate packages.
(See also GitLab#295)
Force flake8 --version to be repeatable between invocations. (See also
GitLab#297)

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jan 3 13:23:01 2017 UTC (7 years, 11 months ago) by jperkin
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Nov 28 12:45:55 2016 UTC (8 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
Updated py-flake8 to 3.2.1.

3.2.1 -- 2016-11-21
-------------------

You can view the `3.2.1 milestone`_ on GitLab for more details.

- Fix subtle bug when deciding whether to report an on-by-default's violation
  (See also `GitLab#257`_)

- Fix another bug around SyntaxErrors not being reported at the right column
  and row (See also `GitLab#259`_ and `GitLab#237`_ for a related, previously
  fixed bug)

- Fix regression from 2.x where we run checks against explicitly provided
  files, even if they don't match the filename patterns. (See also
  `GitLab#266`_)

3.2.0 -- 2016-11-14
-------------------

You can view the `3.2.0 milestone`_ on GitLab for more details.

- Allow for pycodestyle 2.2.0 which fixes a bug in E305 (See also
  `GitLab#256`_)

3.1.1 -- 2016-11-14
-------------------

You can view the `3.1.1 milestone`_ on GitLab for more details.

- Do not attempt to install/distribute a ``man`` file with the Python package;
  leave this for others to do. (See also `GitLab#254`_)

- Fix packaging bug where wheel version constraints specified in setup.cfg did
  not match the constraints in setup.py. (See also `GitLab#255`_)

3.1.0 -- 2016-11-14
-------------------

You can view the `3.1.0 milestone`_ on GitLab for more details.

- Add ``--bug-report`` flag to make issue reporters' lives easier.

- Collect configuration files from the current directory when using our Git
  hook. (See also `GitLab#210`_, `GitLab#218`_, `GitLab#223`_)

- Avoid unhandled exceptions when dealing with SyntaxErrors. (See also
  `GitLab#214`_, `GitLab#238`_)

- Exit early if the value for ``--diff`` is empty. (See also `GitLab#226`_)

- Handle empty ``--stdin-display-name`` values. (See also `GitLab#235`_)

- Properly report the column number of Syntax Errors. We were assuming that
  all reports of column numbers were 0-indexed, however, SyntaxErrors report
  the column number as 1-indexed. This caused us to report a column number
  that was 1 past the actual position. Further, when combined with
  SyntaxErrors that occur at a newline, this caused the position to be
  visually off by two. (See also `GitLab#237`_)

- Fix the behaviour of ``--enable-extensions``. Previously, items specified
  here were still ignored due to the fact that the off-by-default extension
  codes were being left in the ``ignore`` list. (See also `GitLab#239`_)

- Fix problems around ``--select`` and ``--ignore`` behaviour that prevented
  codes that were neither explicitly selected nor explicitly ignored from
  being reported. (See also `GitLab#242`_)

- Truly be quiet when the user specifies ``-q`` one or more times. Previously,
  we were showing the if the user specified ``-q`` and ``--show-source``. We
  have fixed this bug. (See also `GitLab#245`_)

- Add new File Processor attribute, ``previous_unindented_logical_line`` to
  accommodate pycodestyle 2.1.0. (See also `GitLab#246`_)

- When something goes wrong, exit non-zero. (See also `GitLab#248`_,
  `GitLab#209`_)

- Add ``--tee`` as an option to allow use of ``--output-file`` and printing to
  standard out.

- Allow the git plugin to actually be lazy when collecting files.

- Allow for pycodestyle 2.1 series and pyflakes 1.3 series.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Sep 30 10:41:06 2016 UTC (8 years, 2 months ago) by wiz
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +12 -4 lines
Updated py-flake8 to 3.0.4.

2.3.0 - 2015-01-04
------------------

- **Feature**: Add ``--output-file`` option to specify a file to write to
  instead of ``stdout``.

- **Bug** Fix interleaving of output while using multiprocessing
  (`GitLab#17`_)

.. _GitLab#17: https://gitlab.com/pycqa/flake8/issues/17

2.4.0 - 2015-03-07
------------------

- **Bug** Print filenames when using multiprocessing and ``-q`` option.
  (`GitLab#31`_)

- **Bug** Put upper cap on dependencies. The caps for 2.4.0 are:

  - ``pep8 < 1.6`` (Related to `GitLab#35`_)

  - ``mccabe < 0.4``

  - ``pyflakes < 0.9``

  See also `GitLab#32`_

- **Bug** Files excluded in a config file were not being excluded when flake8
  was run from a git hook. (`GitHub#2`_)

- **Improvement** Print warnings for users who are providing mutually
  exclusive options to flake8. (`GitLab#8`_, `GitLab!18`_)

- **Feature** Allow git hook configuration to live in ``.git/config``.
  See the updated `VCS hooks docs`_ for more details. (`GitLab!20`_)

2.4.1 - 2015-05-18
------------------

- **Bug** Do not raise a ``SystemError`` unless there were errors in the
  setuptools command. (`GitLab#39`_, `GitLab!23`_)

- **Bug** Do not verify dependencies of extensions loaded via entry-points.

- **Improvement** Blacklist versions of pep8 we know are broken

2.5.0 - 2015-10-26
------------------

- **Improvement** Raise cap on PyFlakes for Python 3.5 support

- **Improvement** Avoid deprecation warnings when loading extensions
  (`GitLab#59`_, `GitLab#90`_)

- **Improvement** Separate logic to enable "off-by-default" extensions
  (`GitLab#67`_)

- **Bug** Properly parse options to setuptools Flake8 command (`GitLab!41`_)

- **Bug** Fix exceptions when output on stdout is truncated before Flake8
  finishes writing the output (`GitLab#69`_)

- **Bug** Fix error on OS X where Flake8 can no longer acquire or create new
  semaphores (`GitLab#74`_)


2.5.1 - 2015-12-08
------------------

- **Bug** Properly look for ``.flake8`` in current working directory
  (`GitLab#103`_)

- **Bug** Monkey-patch ``pep8.stdin_get_value`` to cache the actual value in
  stdin. This helps plugins relying on the function when run with
  multiprocessing. (`GitLab#105`_, `GitLab#107`_)

2.5.2 - 2016-01-30
------------------

- **Bug** Parse ``output_file`` and ``enable_extensions`` from config files

- **Improvement** Raise upper bound on mccabe plugin to allow for version
  0.4.0

2.5.3 - 2016-02-11
------------------

- **Bug** Actually parse ``output_file`` and ``enable_extensions`` from config
  files

2.5.4 - 2016-02-11
------------------

- **Bug** Missed an attribute rename during the v2.5.3 release.

2.5.5 - 2016-06-14
------------------

- **Bug** Fix setuptools integration when parsing config files

- **Bug** Don't pass the user's config path as the config_file when creating a
  StyleGuide

2.6.0 - 2016-06-15
------------------

- **Requirements Change** Switch to pycodestyle as all future pep8 releases
  will use that package name

- **Improvement** Allow for Windows users on *select* versions of Python to
  use ``--jobs`` and multiprocessing

- **Improvement** Update bounds on McCabe

- **Improvement** Update bounds on PyFlakes and blacklist known broken
  versions

- **Improvement** Handle new PyFlakes warning with a new error code: F405

2.6.1 - 2016-06-25
------------------

- **Bug** Update the config files to search for to include ``setup.cfg`` and
  ``tox.ini``. This was broken in 2.5.5 when we stopped passing
  ``config_file`` to our Style Guide

2.6.2 - 2016-06-25
------------------

- **Bug** Fix packaging error during release process.
3.0.0 -- 2016-07-25
-------------------

- Rewrite our documentation from scratch! (http://flake8.pycqa.org)

- 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.

- Add detailed verbose output using the standard library logging module.

- Enhance our usage of optparse for plugin developers by adding new parameters
  to the ``add_option`` that plugins use to register new options.

- Update ``--install-hook`` to require the name of version control system hook
  you wish to install a Flake8.

- Stop checking sub-directories more than once via the setuptools command

- When passing a file on standard-in, allow the caller to specify
  ``--stdin-display-name`` so the output is properly formatted

- The Git hook now uses ``sys.executable`` to format the shebang line.
  This allows Flake8 to install a hook script from a virtualenv that points to
  that virtualenv's Flake8 as opposed to a global one (without the virtualenv
  being sourced).

- Print results in a deterministic and consistent ordering when used with
  multiprocessing

- When using ``--count``, the output is no longer written to stderr.

- AST plugins can either be functions or classes and all plugins can now
  register options so long as there are callable attributes named as we
  expect.
3.0.1 -- 2016-07-25
-------------------

- Fix regression in handling of ``# noqa`` for multiline strings.
  (See also `GitLab#177`_)

- Fix regression in handling of ``--output-file`` when not also using
  ``--verbose``. (See also `GitLab#180`_)

- Fix regression in handling of ``--quiet``. (See also `GitLab#180`_)

- Fix regression in handling of ``--statistics``. (See also `GitLab#180`_)


3.0.2 -- 2016-07-26
-------------------

- Fix local config file discovery.  (See also `GitLab#181`_)

- Fix indexing of column numbers. We accidentally were starting column indices
  at 0 instead of 1.

- Fix regression in handling of errors like E402 that rely on a combination of
  attributes. (See also `GitLab#186`_)


3.0.3 -- 2016-07-30
-------------------

- Disable ``--jobs`` for any version of Python on Windows.
  (See also `this Python bug report`_)

- Raise exception when entry_point in plugin not callable.
  This raises an informative error when a plugin fails to load because its
  entry_point is not callable, which can happen with a plugin which is buggy or
  not updated for the current version of flake8. This is nicer than raising a
  `PicklingError` about failing to pickle a module (See also `GitLab#164`_)

- Fix ``# noqa`` comments followed by a ``:`` and explanation broken by
  3.0.0 (See also `GitLab#178`_)

- Always open our output file in append mode so we do not overwrite log
  messages. (See also `GitLab#193`_)

- When normalizing path values read from configuration, keep in context the
  directory where the configuration was found so that relative paths work.
  (See also `GitLab#194`_)

- Fix issue where users were unable to ignore plugin errors that were on
  by default. (See also `GitLab#195`_)

- Fix our legacy API StyleGuide's ``init_report`` method to actually override
  the previous formatter. (See also `GitLab#200`_)

3.0.4 -- 2016-08-08
-------------------

- Side-step a Pickling Error when using Flake8 with multiprocessing on Unix
  systems. (See also `GitLab#164`_)

- Fix an Attribute Error raised when dealing with Invalid Syntax. (See also
  `GitLab#203`_)

- Fix an unhandled Syntax Error when tokenizing files. (See also
  `GitLab#205`_)

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Aug 28 15:48:29 2016 UTC (8 years, 3 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -3 lines
Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jun 8 17:43:23 2016 UTC (8 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Switch to MASTER_SITES_PYPI.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Jan 3 00:05:47 2015 UTC (9 years, 11 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Import py34-flake8-2.2.5 as devel/py-flake8.

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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>