Skip to content
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.1.0 #194

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Collaborator

This PR updates pyflakes from 1.6.0 to 2.1.0.

Changelog

2.1.0

- Allow intentional assignment to variables named ``_``
- Recognize ``__module__`` as a valid name in class scope
- ``pyflakes.checker.Checker`` supports checking of partial ``ast`` trees
- Detect assign-before-use for local variables which shadow builtin names
- Detect invalid ``print`` syntax using ``>>`` operator
- Treat ``async for`` the same as a ``for`` loop for introducing variables
- Add detection for list concatenation in ``__all__``
- Exempt ``typing.overload`` from duplicate function declaration
- Importing a submodule of an ``as``-aliased ``import``-import is marked as
used
- Report undefined names from ``__all__`` as possibly coming from a ``*``
import
- Add support for changes in Python 3.8-dev
- Add support for PEP 563 (``from __future__ import annotations``)
- Include Python version and platform information in ``pyflakes --version``
- Recognize ``__annotations__`` as a valid magic global in Python 3.6+
- Mark names used in PEP 484 `` type: ...`` comments as used
- Add check for use of ``is`` operator with ``str``, ``bytes``, and ``int``
literals

2.0.0

- 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(...)``
Links

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling cc34b6b on pyup-update-pyflakes-1.6.0-to-2.1.0 into b07575b on master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling cc34b6b on pyup-update-pyflakes-1.6.0-to-2.1.0 into b07575b on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling cc34b6b on pyup-update-pyflakes-1.6.0-to-2.1.0 into b07575b on master.

@pyup-bot
Copy link
Collaborator Author

pyup-bot commented Mar 1, 2019

Closing this in favor of #212

@pyup-bot pyup-bot closed this Mar 1, 2019
@s-m-i-t-a s-m-i-t-a deleted the pyup-update-pyflakes-1.6.0-to-2.1.0 branch March 1, 2019 00:42
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.

None yet

2 participants