2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017) |
Log message:
devel: Remove SHA1 hashes for distfiles
|
2021-03-15 08:20:35 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
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.
|
2020-05-12 08:36:42 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
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.
|
2019-01-30 23:44:53 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
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
|
2018-04-11 15:24:02 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-codestyle: updated to 2.4.0
2.4.0 (2018-04-10)
New checks:
Add W504 warning for checking that a break doesn’t 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 ‘async’ and ‘await’ reserved 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.
‘setup.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 ‘pycodestyle.StyleGuide(verbose=True)’ instead of \
‘pycodestyle.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.
‘maximum_line_length’ now 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 ‘DeprecationWarning’, and a ‘SyntaxError’ in 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 ‘python3 -m \
cProfile’ to report correct metrics.
Fix a spelling mistake in the description of E722.
‘pycodestyle –diff’ now does not break if your ‘gitconfig’ enables \
‘mnemonicprefix’.
|
2017-07-31 00:32:28 by Thomas Klausner | Files touched by this commit (229) |
Log message:
Switch github HOMEPAGEs to https.
|
2017-05-03 21:29:58 by Adam Ciarcinski | Files touched by this commit (2) |
Log message:
Changes 2.3.1:
Bugs:
* Fix regression in detection of E302 and E306
|
2017-01-03 14:23:05 by Jonathan Perkin | Files touched by this commit (52) |
Log message:
Use "${MV} || ${TRUE}" and "${RM} -f" consistently in \
post-install targets.
|
2016-09-30 12:36:13 by Thomas Klausner | Files touched by this commit (5) |
Log message:
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.
|