Skip to content

refactor: replace deprecated typing constructs with modern syntax#616

Merged
mergify[bot] merged 1 commit intomainfrom
devs/jd/refactor/typing-cleanup/I569081564348eac6cdfd934c8abcc92b144d35c6
Feb 26, 2026
Merged

refactor: replace deprecated typing constructs with modern syntax#616
mergify[bot] merged 1 commit intomainfrom
devs/jd/refactor/typing-cleanup/I569081564348eac6cdfd934c8abcc92b144d35c6

Conversation

@jd
Copy link
Owner

@jd jd commented Feb 26, 2026

Replace t.Optional, t.Union, and typing.Union with X | None / X | Y
union syntax (PEP 604).

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Replace t.Optional, t.Union, and typing.Union with X | None / X | Y
union syntax (PEP 604).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Change-Id: I569081564348eac6cdfd934c8abcc92b144d35c6
@jd
Copy link
Owner Author

jd commented Feb 26, 2026

This pull request is part of a stack:

  1. refactor: replace deprecated typing constructs with modern syntax (#616) 👈
  2. fix: add missing space in type annotation (#617)
  3. chore: remove unused reports_deprecation_warning helper (#618)
  4. refactor: enable PGH, PYI ruff rules and rename TCH to TC (#619)

@jd jd marked this pull request as ready for review February 26, 2026 12:55
@mergify mergify bot merged commit ac9c21f into main Feb 26, 2026
9 checks passed
@mergify mergify bot deleted the devs/jd/refactor/typing-cleanup/I569081564348eac6cdfd934c8abcc92b144d35c6 branch February 26, 2026 12:56
@mergify
Copy link
Contributor

mergify bot commented Feb 26, 2026

Merge Queue Status

Rule: default


  • Entered queue2026-02-26 12:56 UTC
  • Checks passed · in-place
  • Merged2026-02-26 12:56 UTC · at 1e7235e3034596e483f94fcaaba9ca663a8c61a9

This pull request spent 7 seconds in the queue, with no time running CI.

Required conditions to merge

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