Skip to content

Update pyflakes to 3.0.1#187

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

Update pyflakes to 3.0.1#187
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-pyflakes-2.2.0-to-3.0.1

Conversation

@pyup-bot

Copy link
Copy Markdown
Collaborator

This PR updates pyflakes from 2.2.0 to 3.0.1.

Changelog

3.0.1

- Fix crash on augmented assign to ``print`` builtin

3.0.0

- Detect undefined name in variable defined by an annotated assignment
- Add a new error for names which are annotated but unused
- Remove handling of python 2.x `` type:`` comments.  Use annotations instead

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 Nov 24, 2022

Copy link
Copy Markdown

Codecov Report

Merging #187 (3aaa8f7) into master (b80bb2f) will not change coverage.
The diff coverage is n/a.

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

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@pyup-bot

Copy link
Copy Markdown
Collaborator Author

Closing this in favor of #231

@pyup-bot pyup-bot closed this Jul 29, 2023
@Ernanidacosta Ernanidacosta deleted the pyup-update-pyflakes-2.2.0-to-3.0.1 branch July 29, 2023 21:48
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