Skip to content

Update pycodestyle to 2.6.0#89

Closed
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-pycodestyle-2.4.0-to-2.6.0
Closed

Update pycodestyle to 2.6.0#89
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-pycodestyle-2.4.0-to-2.6.0

Conversation

@pyup-bot
Copy link
Copy Markdown
Collaborator

This PR updates pycodestyle from 2.4.0 to 2.6.0.

Changelog

2.6.0

------------------

Announcements:

* Anthony Sottile (asottile) joined the team as a core developer. :tada:

Changes:

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

2.6.0a1

--------------------

New checks:

* E225: require whitespace around ``and`` ``in`` ``is`` and ``or``.  PR 847.

Changes:

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

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. PR 720.
* 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
* Correct the position reported by W504
Links

@codecov
Copy link
Copy Markdown

codecov bot commented May 12, 2020

Codecov Report

Merging #89 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #89   +/-   ##
=======================================
  Coverage   59.91%   59.91%           
=======================================
  Files           3        3           
  Lines         247      247           
=======================================
  Hits          148      148           
  Misses         99       99           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c136a3e...41bd686. Read the comment docs.

@pyup-bot
Copy link
Copy Markdown
Collaborator Author

Closing this in favor of #127

@pyup-bot pyup-bot closed this Mar 15, 2021
@tiagocordeiro tiagocordeiro deleted the pyup-update-pycodestyle-2.4.0-to-2.6.0 branch March 15, 2021 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant