Skip to content

Add support for type alias statements#771

Closed
tristanlatr wants to merge 7 commits intomasterfrom
769-follow-up-support-type-aliases
Closed

Add support for type alias statements#771
tristanlatr wants to merge 7 commits intomasterfrom
769-follow-up-support-type-aliases

Conversation

@tristanlatr
Copy link
Contributor

Type alias statements were introduced in Python 3.12

@codecov
Copy link

codecov bot commented Apr 1, 2024

Codecov Report

Attention: Patch coverage is 96.15385% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 92.69%. Comparing base (fe29bb7) to head (3a3a7ae).

Files Patch % Lines
pydoctor/astbuilder.py 83.33% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #771   +/-   ##
=======================================
  Coverage   92.69%   92.69%           
=======================================
  Files          47       47           
  Lines        8337     8354   +17     
  Branches     1846     1849    +3     
=======================================
+ Hits         7728     7744   +16     
  Misses        349      349           
- Partials      260      261    +1     

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

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@tristanlatr
Copy link
Contributor Author

TODO next: Add support for type parameters in typer aliases, functions and classes.

@tristanlatr tristanlatr marked this pull request as ready for review April 1, 2024 03:05
@github-actions
Copy link

github-actions bot commented Apr 1, 2024

According to pydoctor_primer, this change doesn't affect pydoctor warnings on a corpus of open source code. ✅

@tristanlatr
Copy link
Contributor Author

Replaced by #772

@tristanlatr tristanlatr closed this Apr 3, 2024
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