New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pyflakes to 2.0.0 #5866

Merged
merged 1 commit into from May 24, 2018

Conversation

Projects
None yet
4 participants
@cheister
Copy link
Contributor

cheister commented May 24, 2018

Problem

We're running an old version of pyflakes

Solution

Update to latest version of pyflakes

Result

pyflakes release notes from https://github.com/PyCQA/pyflakes/blob/master/NEWS.txt

2.0.0 (2018-05-20)
  - Drop support for EOL Python <2.7 and 3.2-3.3
  - Check for unused exception binding in `except:` block
  - Handle string literal type annotations
  - Ignore redefinitions of `_`, unless originally defined by import
  - Support `__class__` without `self` in Python 3
  - Issue an error for `raise NotImplemented(...)`

1.6.0 (2017-08-03)
  - Process function scope variable annotations for used names
  - Find Python files without extensions by their shebang

1.5.0 (2017-01-09)
  - Enable support for PEP 526 annotated assignments

1.4.0 (2016-12-30):
  - Change formatting of ImportStarMessage to be consistent with other errors
  - Support PEP 498 "f-strings"

1.3.0 (2016-09-01):
  - Fix PyPy2 Windows IntegrationTests
  - Check for duplicate dictionary keys
  - Fix TestMain tests on Windows
  - Fix "continue" and "break" checks ignoring py3.5's "async for" loop

1.2.3 (2016-05-12):
  - Fix TypeError when processing relative imports

1.2.2 (2016-05-06):
  - Avoid traceback when exception is del-ed in except

1.2.1 (2015-05-05):
  - Fix false RedefinedWhileUnused for submodule imports

1.2.0 (2016-05-03):
  - Warn against reusing exception names after the except: block on Python 3
  - Improve the error messages for imports
Chris Heisterkamp

@cheister cheister requested a review from stuhood May 24, 2018

@kwlzn

kwlzn approved these changes May 24, 2018

Copy link
Member

kwlzn left a comment

lgtm!

@stuhood stuhood requested review from benjyw and CMLivingston and removed request for stuhood May 24, 2018

@benjyw

benjyw approved these changes May 24, 2018

@cheister cheister merged commit 4b803ee into pantsbuild:master May 24, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@cheister cheister deleted the cheister:update-pyflakes-2.0.0 branch May 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment