Skip to content

Comments

Update pyflakes to 3.3.1#215

Closed
pyup-bot wants to merge 1 commit intomainfrom
pyup-update-pyflakes-2.3.1-to-3.3.1
Closed

Update pyflakes to 3.3.1#215
pyup-bot wants to merge 1 commit intomainfrom
pyup-update-pyflakes-2.3.1-to-3.3.1

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates pyflakes from 2.3.1 to 3.3.1.

Changelog

3.3.1

- Allow assignment expressions to redefine annotations (regressed in 3.3.0)

3.3.0

- Add ``__debuggerskip__`` as a special local
- Allow assignment expressions to redefine outer names
- Drop support for EOL python 3.8
- Add new error for unused ``global`` / ``nonlocal`` names

3.2.0

- Add support for ``*T`` (TypeVarTuple) and ``**P`` (ParamSpec) in PEP 695
annotations.

3.1.0

- Drop support for EOL python 3.6 / 3.7
- Remove ``ContinueInFinally`` check (only relevant in python < 3.8)
- Fix forward annotations inside a nested scope
- Produce an error when a definition shadows an unused variable
- Fix accessed global annotation being redefined in a local scope
- Allow redefinition of functions across ``match`` arms
- Fix potential ``None`` for ``lineno`` during tokenization errors
- Add support for PEP 695 and python 3.12

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

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #216

@pyup-bot pyup-bot closed this Mar 31, 2025
@felsb3 felsb3 deleted the pyup-update-pyflakes-2.3.1-to-3.3.1 branch March 31, 2025 16:44
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