The NetBSD Project

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

[BACK] Up to [] / pkgsrc / devel / py-codestyle

Request diff between arbitrary revisions

Default branch: MAIN

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

py-codestyle: updated to 2.5.0


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

* 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
* 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 (12 months, 1 week 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.

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.

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 (20 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-
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 (23 months, 2 weeks 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:
* Fix regression in detection of E302 and E306

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jan 3 13:23:01 2017 UTC (2 years, 3 months 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 (2 years, 6 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 <>