Skip to content

fix: Support PEP 695 type aliases in interfaces#930

Open
chetmancini wants to merge 1 commit into
tach-org:mainfrom
chetmancini:chetmancini/pep695-type-aliases
Open

fix: Support PEP 695 type aliases in interfaces#930
chetmancini wants to merge 1 commit into
tach-org:mainfrom
chetmancini:chetmancini/pep695-type-aliases

Conversation

@chetmancini

Copy link
Copy Markdown

Fix for issue #929

Recognize PEP 695 type Alias = ... statements as exported module interface members. Reuse the existing annotation extraction path so aliases, annotated assignments, and function annotations keep the same primitive-type behavior. Add a regression test for a primitive PEP 695 alias.

First contribution -- let me know if I should add anything more testing or hygiene wise!

@DetachHead DetachHead linked an issue May 9, 2026 that may be closed by this pull request
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.

Support PEP 695 type alias

1 participant