Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for type alias statements #771

Closed
wants to merge 7 commits into from

Conversation

tristanlatr
Copy link
Contributor

Type alias statements were introduced in Python 3.12

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.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

1 similar comment

This comment has been minimized.

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
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