Skip to content

⬆️ deps: Update Python dev dependencies - #82

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/python-dev-dependencies
Open

⬆️ deps: Update Python dev dependencies#82
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/python-dev-dependencies

Conversation

@renovate

@renovate renovate Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
pre-commit >=4.6.1>=4.6.2 age confidence
ruff (source, changelog) >=0.16.1>=0.16.2 age confidence
ty (changelog) >=0.0.66>=0.0.70 age confidence

Release Notes

pre-commit/pre-commit (pre-commit)

v4.6.2

Compare Source

==================

Fixes
astral-sh/ruff (ruff)

v0.16.2

Compare Source

Released on 2026-08-06.

Bug fixes
  • [flake8-pyi] Avoid false positives on singledispatch functions (PYI041) (#​27335)
Server
  • Register formatting capabilities dynamically to exclude TOML files (#​27332)
Contributors
astral-sh/ty (ty)

v0.0.70

Compare Source

Released on 2026-08-10.

LSP server
  • Enable and downrank auto-import completions from stub-only modules (#​27433)
  • Fix signature help at end of file (#​27622)
  • Normalize type labels in structured docstrings (#​26923)
  • Preserve typing-only completion ranking in TYPE_CHECKING blocks (#​27549)
CLI
  • Avoid deadlock when scheduling watch checks (#​27605)
Diagnostics
  • Add an opt-in unsound-return-statement lint (#​27561)
  • Add an opt-in unsound-yield lint (#​27593)
  • Diagnose invalid __getattr__ calls (#​27502)
  • Diagnose invalid descriptor __get__ calls (#​27400)
Core type checking
  • Consider object members in protocol comparisons (#​27532)
  • Exclude quantified constraints from semantic type walks (#​27613)
  • Expand Generator aliases when evaluating return, send, and yield types (#​27577)
  • Infer precise TypedDict key-membership truthiness (#​27579)
  • Infer variance through type[T] (#​27534)
  • Preserve contextual inference for declarations in loops (#​27594)
  • Recognize overlapping NewType types and their underlying values (#​27522)
  • Require ClassVar declarations for protocol members (#​27530)
  • Stabilize recursive gradual type alias materialization (#​27563)
  • Support Annotated inside type[...] (#​27629)
  • Validate augmented assignment stores (#​27545)
Contributors

v0.0.69

Compare Source

Released on 2026-08-06.

Core type checking
  • isinstance narrowing for generic classes is now more gradual by default (#​27308)

    This new behavior is more similar to what other major type checkers do. For example:

    def f(xs: object):
        if isinstance(xs, list):
            reveal_type(xs)  # now: `list[Unknown]`, before: `Top[list[Unknown]]`

    Note: you might consider enabling analysis.strict-generic-narrowing
    if you prefer the strictly correct behavior.

Contributors

v0.0.68

Compare Source

Released on 2026-08-05.

Diagnostics
  • Preserve property getter call errors (#​27509)
  • Simplify numeric tower displays (e.g., float over int | float) (#​27406)
  • Suggest closing open TypedDict types for Mapping compatibility (#​27512)
Core type checking
  • Avoid double inference of Unpack operands in Union (#​27525)
  • Fix panic from mismatched OR-pattern bindings (#​27533)
Contributors

v0.0.67

Compare Source

Released on 2026-08-05.

LSP server
  • Fix unused hints for OR-pattern captures (#​27438)
  • Index match-pattern bindings as symbols (#​27260)
  • Retain typing-only symbols in explicit completions (#​27435)
Diagnostics
  • Preserve called types in intersection diagnostics (#​27475)
  • Suppress unimported-reveal diagnostics in stub files and if TYPE_CHECKING blocks (#​27508)
Configuration
  • Remove deprecated src.root setting in favor of environment.root (#​27456)
Core type checking
  • Check property compatibility when matching class objects to protocols (#​27402)
  • Fix constructor calls on narrowed type-variable intersections (#​27493)
  • Fix specialization cycle with deferred TypeVar defaults (#​27453)
  • Infer generic TypedDicts from unpacked TypedDicts (#​27439)
  • Infer generic TypedDicts through synthesized constructor signatures (#​27436)
  • Normalize unpacked callable signatures for assignability (#​27450)
  • Preserve class type parameters through generic decorators (#​27442)
  • Preserve generic class type variables in constructor inference (#​27340)
  • Preserve return constraints for object-variadic callables (#​27431)
  • Preserve return constraints for top callables (#​27446)
  • Recover generic constructor types from failing overloads (#​27460)
  • Reject Self with incompatible explicit receiver annotations (#​27454)
  • Reject unhashable objects for Hashable protocols (#​27441)
  • Reject unsupported dataclass_transform parameters (#​27458)
  • Restore bottom callable subtyping for gradual prefixes (#​27519)
  • Top-materialize is_dataclass type guard (#​27455)
  • Validate constructor calls on unbounded type variables (#​27449)
Performance
  • Avoid exponential slowdown copying narrowed TypedDict unions (#​27492)
Contributors

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot enabled auto-merge August 10, 2026 00:42
@renovate
renovate Bot force-pushed the renovate/python-dev-dependencies branch from 894fd1a to 9a7aac9 Compare August 11, 2026 22:04
@renovate
renovate Bot force-pushed the renovate/python-dev-dependencies branch from 9a7aac9 to d7dcae7 Compare August 12, 2026 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants