./devel/py-codestyle, Python style guide checker

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


Branch: CURRENT, Version: 2.12.1, Package name: py312-codestyle-2.12.1, Maintainer: wenheping

pycodestyle is a tool to check your Python code against some of
the style conventions in PEP 8.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 38.313 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-08-07 12:44:44 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-codestyle: updated to 2.12.1

2.12.1 (2024-08-04)

Changes:
* Properly preserve escaped `{` and `}` in fstrings in logical lines in 3.12+.
   2024-06-17 10:03:38 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-codestyle: updated to 2.12.0

2.12.0 (2024-06-15)

Changes:

* E721: Fix false positive of the form `x.type(...) ==`.
* E502: Fix false-negative with a backslash escape in a comment.
* E204: New lint forbidding whitespace after decorator `@`.
   2023-10-13 07:47:05 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-codestyle: updated to 2.11.1

2.11.1 (2023-10-12)

Changes:
* E275: fix false positive with fstrings containing keyword parts in python 3.12
   2023-07-31 09:26:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-codestyle: updated to 2.11.0

2.11.0 (2023-07-29)
-------------------

Changes:

* Drop EOL python 3.6 / 3.7.
* Add support for python 3.12.
* E721: adjust handling of type comparison. Allowed forms are now
  ``isinstance(x, t)`` or ``type(x) is t``.
* Remove handling of python 2 ``<>`` operator.
* W606: removed.  ``async`` / ``await`` are always keywords.
* Internal: move tests to pytest.
* Remove handling of python 2 ``ur''`` strings.
   2023-04-30 16:36:13 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-codestyle: update to 2.10.0.

2.10.0 (2022-11-23)
-------------------

Changes:

* E231: allow trailing comma inside 1-tuples in `[]`.  PR #1108.
* W601, W602, W603, W604: removed (no longer relevant in python 3).  PR #1111.
* E741: also apply to lambdas.  PR #1106.
* E741: fix false positive for comparison operators.  PR #1118.

2.9.1 (2022-08-03)
------------------

Changes:

* E275: fix false positive for yield expressions.  PR #1091.

2.9.0 (2022-07-30)
------------------

Changes:

* E221, E222, E223, E224: add support for ``:=`` operator.  PR #1032.
* Drop python 2.7 / 3.5.
* E262: consider non-breaking spaces (``\xa0``) as whitespace.  PR #1035.
* Improve performance of ``_is_binary_operator``.  PR #1052.
* E275: requires whitespace around keywords.  PR #1063.
* Add support for python 3.11. PR #1070.
   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
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.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

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