Skip to content

Update pycodestyle to 2.3.1#3249

Merged
seankelly merged 6 commits intomasterfrom
pyup-update-pycodestyle-2.0.0-to-2.3.1
May 24, 2017
Merged

Update pycodestyle to 2.3.1#3249
seankelly merged 6 commits intomasterfrom
pyup-update-pycodestyle-2.0.0-to-2.3.1

Conversation

@pyup-bot
Copy link
Copy Markdown
Collaborator

There's a new version of pycodestyle available.
You are currently using 2.0.0. I have updated it to 2.3.1

These links might come in handy: PyPI | Changelog | Docs

Changelog

2.3.1


Bugs:

  • Fix regression in detection of E302 and E306; 618, 620

2.3.0


New Checks:

  • Add E722 warning for bare except clauses
  • Report E704 for async function definitions (async def)

Bugs:

  • Fix another E305 false positive for variables beginning with "class" or
    "def"
  • Fix detection of multiple spaces between async and def
  • Fix handling of variable annotations. Stop reporting E701 on Python 3.6 for
    variable annotations.

2.2.0


Announcements:

  • Added Make target to obtain proper tarball file permissions; 599

Bugs:

  • Fixed E305 regression caused by 400; 593

2.1.0


Announcements:

  • Change all references to the pep8 project to say pycodestyle; 530

Changes:

  • Report E302 for blank lines before an "async def"; 556
  • Update our list of tested and supported Python versions which are 2.6, 2.7,
    3.2, 3.3, 3.4 and 3.5 as well as the nightly Python build and PyPy.
  • Report E742 and E743 for functions and classes badly named 'l', 'O', or 'I'.
  • Report E741 on 'global' and 'nonlocal' statements, as well as prohibited
    single-letter variables.
  • Deprecated use of [pep8] section name in favor of [pycodestyle]; 591
  • Report E722 when bare except clause is used; 579

Bugs:

  • Fix opt_type AssertionError when using Flake8 2.6.2 and pycodestyle; 561
  • Require two blank lines after toplevel def, class; 536
  • Remove accidentally quadratic computation based on the number of colons. This
    will make pycodestyle faster in some cases; 314

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 🤖

@codecov
Copy link
Copy Markdown

codecov bot commented May 22, 2017

Codecov Report

Merging #3249 into master will not change coverage.
The diff coverage is 89.13%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3249   +/-   ##
=======================================
  Coverage   88.21%   88.21%           
=======================================
  Files         320      320           
  Lines       33293    33293           
=======================================
  Hits        29369    29369           
  Misses       3924     3924
Impacted Files Coverage Δ
master/buildbot/status/master.py 46.39% <0%> (ø) ⬆️
worker/buildbot_worker/pb.py 77.85% <0%> (ø) ⬆️
master/buildbot/process/properties.py 96.22% <100%> (ø) ⬆️
master/buildbot/util/pathmatch.py 96% <100%> (ø) ⬆️
master/buildbot/db/buildsets.py 96.06% <100%> (ø) ⬆️
master/buildbot/config.py 98.68% <100%> (ø) ⬆️
master/buildbot/process/buildstep.py 90.8% <100%> (ø) ⬆️
master/buildbot/util/__init__.py 94.56% <100%> (ø) ⬆️
master/buildbot/data/forceschedulers.py 93.65% <100%> (ø) ⬆️
master/buildbot/process/botmaster.py 93.71% <100%> (ø) ⬆️
... and 1 more

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 b3fb388...139664d. Read the comment docs.

def test_old_setMaxLineLength(self):
# this method is gone, but used to be documented, so it's still
# callable. Just don't fail.
# callable. Just don't fai_log.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:)

Bit overeager on the replacement here.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arg.

@seankelly seankelly merged commit 0b9db1f into master May 24, 2017
@tardyp tardyp deleted the pyup-update-pycodestyle-2.0.0-to-2.3.1 branch July 22, 2017 19:36
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.

3 participants