Skip to content

Update pyflakes to 4.0.0 - #740

Open
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-pyflakes-3.1.0-to-4.0.0
Open

pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-pyflakes-3.1.0-to-4.0.0

Conversation

@pyup-bot

Copy link
Copy Markdown
Collaborator

This PR updates pyflakes from 3.1.0 to 4.0.0.

Changelog

4.0.0

- Add support for python 3.15
- Drop support for EOL python 3.9
- Add new errors for ``lazy`` imports:
 - lazy import is eagerly used at module scope
 - ``lazy from ... import *`` is invalid syntax
 - ``lazy from __future__ import ...`` is invalid syntax
 - lazy import must be at module scope
- Improve typing specialization:
 - Handle ``cast(...)`` with named arguments
 - Fix duplicate errors in first argument of ``cast(...)``
 - Handle ``TypeVar(... default='...')``
 - Fix missing error for first argument of ``TypeVar(...)`` call
 - Update handling of ``NamedTuple(...)`` for python 3.15 changes
 - Update handling of ``TypedDict(...)`` for python 3.13 changes
 - Add handling of ``assert_type(...)``
 - Add handling of ``NewType(...)``
 - Add handling of ``TypeVarTuple(...)``
 - Add handling of ``ParamSpec(...)``
- Fix assignment expressions in dictionary literals
- Remove ``file_tokens`` parameter to ``Checker``.  Unused since 3.0.0
- Fix false-negative for deleting special variables such as ``del __tracebackhide__``
- Add support for ``python3t`` shebangs
- Remove support for obsolete ``python3m`` and ``pythonu`` shebangs

3.4.0

- Add support for python 3.14
- Add "t-string is missing placeholders" error
- Fix annotation erroneously causing a name to be defined with
``from __future__ import annotations``
- Add support for always-deferred annotations (PEP 749)

3.3.2

- Fix crash with ``global`` / ``nonlocal`` in class bodies (regressed in 3.3.0)

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

@codecov

codecov Bot commented Sep 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (5f02dc7) to head (efb3b46).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #740   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines          126       126           
=========================================
  Hits           126       126           
Flag Coverage Δ
?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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