Skip to content

edit: modernize typing structure based on PEP 585 and 604 - #78

Merged
awolverp merged 1 commit into
awolverp:mainfrom
hu-matin:refactor/utils
Aug 15, 2026
Merged

edit: modernize typing structure based on PEP 585 and 604#78
awolverp merged 1 commit into
awolverp:mainfrom
hu-matin:refactor/utils

Conversation

@hu-matin

Copy link
Copy Markdown
Contributor

Modernized utils.py typing to use PEP 585 and PEP 604 standards.

Main points:

  • Switched typing.Callable/Tuple/Type to native collections.abc and type[...] (PEP 585)
  • Replaced optional/union with pipe | syntax (PEP 604)
  • Added proper Any types to *args and **kwds

Ready to merge.

@awolverp
awolverp merged commit 9089f7a into awolverp:main Aug 15, 2026
12 checks passed
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.

2 participants