The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Fri Oct 13 05:47:05 2023 UTC (4 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, HEAD
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

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

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jul 31 07:26:08 2023 UTC (6 months, 3 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3
Changes since 1.12: +2 -5 lines
Diff to previous 1.12 (colored)

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.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Apr 30 14:36:13 2023 UTC (9 months, 3 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Changes since 1.11: +4 -3 lines
Diff to previous 1.11 (colored)

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.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 5 15:41:02 2022 UTC (2 years, 1 month ago) by wiz
Branch: 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
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)

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.10 / (download) - annotate - [select for diffs], Tue Jan 4 20:52:57 2022 UTC (2 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

*: bump PKGREVISION for egg.mk users

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

Revision 1.9 / (download) - annotate - [select for diffs], Mon Oct 11 08:11:16 2021 UTC (2 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

py-codestyle: updated to 2.8.0

2.8.0 (2021-10-10)
------------------
Changes:
* Drop python 3.4.
* E712: fix false negative with multiple comparisons.
* E211: fix false positives with ``match``.
* E772: improve performance of bare except check.
* Backport tokenize performance improvement from python 3.10.
* E225: fix for lambdas containing positional-only args.
* Remove ``indent_size_str`` "setting".
* E402: allow ``__all__`` to be typed.
* E225: fix false positives for ``*`` in ``case``.
* E201: detect tabs as whitespace.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Mar 15 07:20:35 2021 UTC (2 years, 11 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

py-codestyle: updated to 2.7.0

2.7.0:

Changes:
* Fix physical checks (such as W191) at end of file.
* Add ``--indent-size`` option (defaulting to ``4``).
* W605: fix escaped crlf false positive on windows.

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 12 06:36:42 2020 UTC (3 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.6: +5 -2 lines
Diff to previous 1.6 (colored)

py-codestyle: updated to 2.6.0

2.6.0:

Changes:
* E306: fix detection inside ``async def``.
* E301: fix regression disallowing decorated one-liners.
* E714: fix false positive with chained ``is not``.


2.6.0a1:

New checks:
* E225: require whitespace around ``and`` ``in`` ``is`` and ``or``.

Changes:
* E117: fix indentation using tabs by treating as 8-space indents.
* E721: fix false positive with names containg ``istype``.
* E741: allow ``l`` as a named argument in a function call.
* E302: fix false-negative with decorated functions.
* W504: ellipsis (``...``) is no longer treated as a binary operator.
* E402: allow ``with``, ``if``, ``elif``, ``else`` to guard imports.
* Add support for assignment expressions ``:=`` (PEP 572).
* Add support for positional-only arguments ``/`` (PEP 570).
* Add support for python 3.8.
* Add support for matrix multiplication operator ``@`` (PEP 465).
* Support visual indent for continuation lines for ``with`` / ``assert`` /
  ``raise``.
* E302: allow two blank lines after a block of one-liners.
* E302: allow two-and-fewer newlines at the top of the file.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 30 22:44:53 2019 UTC (5 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.5: +4 -3 lines
Diff to previous 1.5 (colored)

py-codestyle: updated to 2.5.0

2.5.0:

New checks:
* E117: Over-indented code blocks
* W505: Maximum doc-string length only when configured with --max-doc-length

Changes:
* Remove support for EOL Python 2.6 and 3.3.
* Add E117 error for over-indented code blocks.
* Allow W605 to be silenced by # noqa and fix the position reported by W605
* Allow users to omit blank lines around one-liner definitions of classes and
  functions
* Include the function return annotation (->) as requiring surrounding
  whitespace only on Python 3
* Verify that only names can follow await. Previously we allowed numbers
  and strings.
* Add support for Python 3.7
* Fix detection of annotated argument defaults for E252
* Cprrect the position reported by W504

Revision 1.5 / (download) - annotate - [select for diffs], Wed Apr 11 13:24:02 2018 UTC (5 years, 10 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.4: +2 -5 lines
Diff to previous 1.4 (colored)

py-codestyle: updated to 2.4.0

2.4.0 (2018-04-10)
New checks:
Add W504 warning for checking that a break doesn happen after a binary operator. This check is ignored by default.
Add W605 warning for invalid escape sequences in string literals.
Add W606 warning for syncand waitreserved keywords being introduced in Python 3.7.
Add E252 error for missing whitespace around equal sign in type annotated function arguments with defaults values.

Changes:
An internal bisect search has replaced a linear search in order to improve efficiency.
pycodestyle now uses PyPI trove classifiers in order to document supported python versions on PyPI.
etup.cfgϼwheel]section has been renamed to ϼbdist_wheel] as the former is legacy.
pycodestyle now handles very long lines much more efficiently for python 3.2+.
You can now write ycodestyle.StyleGuide(verbose=True)instead of ycodestyle.StyleGuide(verbose=True, paths=[vѾ)in order to achieve verbosity.
The distribution of pycodestyle now includes the license text in order to comply with open source licenses which require this.
aximum_line_lengthnow ignores shebang (! lines.
Add configuration option for the allowed number of blank lines. It is implemented as a top level dictionary which can be easily overwritten.

Bugs:
Prevent a ϥeprecationWarning and a ϴyntaxErrorin future python, caused by an invalid escape sequence.
Correctly report E501 when the first line of a docstring is too long.
Support variable annotation when variable start by a keyword, such as class variable type annotations in python 3.6.
pycodestyle internals have been changed in order to allow ython3 -m cProfileto report correct metrics.
Fix a spelling mistake in the description of E722.
ycodestyle iffnow does not break if your itconfigenables nemonicprefix

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jul 30 22:32:16 2017 UTC (6 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Switch github HOMEPAGEs to https.

Revision 1.3 / (download) - annotate - [select for diffs], Wed May 3 19:29:58 2017 UTC (6 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Changes 2.3.1:
Bugs:
* Fix regression in detection of E302 and E306

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jan 3 13:23:01 2017 UTC (7 years, 1 month ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Sep 30 10:36:13 2016 UTC (7 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4

Import py-codestyle-2.0.0 as devel/py-codestyle.

This is the successor of py-pep8.

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

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>