Skip to content

Update pyflakes to 2.5.0#172

Closed
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-pyflakes-2.2.0-to-2.5.0
Closed

Update pyflakes to 2.5.0#172
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-pyflakes-2.2.0-to-2.5.0

Conversation

@pyup-bot

Copy link
Copy Markdown
Collaborator

This PR updates pyflakes from 2.2.0 to 2.5.0.

Changelog

2.5.0

- Drop support for EOL python 2.7 / 3.4 / 3.5
- Ignore ``__all__`` when not directly assigned
- Handle ``TypeAlias`` annotations as aliases (PEP 613)
- Assignment expressions (``:=``) target outer scope in comprehensions
- Add support for new python 3.11 syntax
- Unify output so it is always ``filename:lineno:col:  message``
- Properly report ``SyntaxError`` from stdin in python < 3.9
- Fix offsets of ``SyntaxError``s in pypy

2.4.0

- Remove unused tracing code (``traceTree``)
- Add support for ``match`` statement
- Detect ``typing`` module attributes when imported with ``import ... as ...``

2.3.1

- Fix regression in 2.3.0: type annotations no longer redefine imports

2.3.0

- Recognize tuple concatenation in ``__all__`` export definitions
- Better support use of annotation-only assignments when using
``from __future__ import annotations``
- Recognize special-case typing for ``Annotated``
- Fix undefined name ``__qualname__`` in class scope
- Recognize special-cased typing for ``TypeVar``
- Errors for undefined exports in ``__all__`` are shown in a deterministic order
- Fix false positives in certain typing constructs (``TypeVar``,
``NamedTuple``, ``TypedDict``, ``cast``)
Links

@codecov

codecov Bot commented Jul 30, 2022

Copy link
Copy Markdown

Codecov Report

Merging #172 (489a91c) into master (b80bb2f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #172   +/-   ##
=======================================
  Coverage   96.12%   96.12%           
=======================================
  Files          12       12           
  Lines         129      129           
=======================================
  Hits          124      124           
  Misses          5        5           

Help us with your feedback. Take ten seconds to tell us how you rate us.

@pyup-bot

Copy link
Copy Markdown
Collaborator Author

Closing this in favor of #187

@pyup-bot pyup-bot closed this Nov 24, 2022
@Ernanidacosta Ernanidacosta deleted the pyup-update-pyflakes-2.2.0-to-2.5.0 branch November 24, 2022 21:12
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