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

Cleanup astbuilder and add support for nested modules #424

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tristanlatr
Copy link
Contributor

Create the SignatureBuilder and the BaseBuilder classes.

This PR does some cleanup in order to generalize part of the ASTBuilder logic such that we can subclass it to build from and to JSON data. See #93.

Create the SignatureBuilder and the BaseBuilder classes.
@codecov
Copy link

codecov bot commented Aug 11, 2021

Codecov Report

Merging #424 (f65bbeb) into master (820a3fd) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #424      +/-   ##
==========================================
+ Coverage   87.26%   87.31%   +0.04%     
==========================================
  Files          22       22              
  Lines        4264     4279      +15     
  Branches      840      844       +4     
==========================================
+ Hits         3721     3736      +15     
  Misses        351      351              
  Partials      192      192              
Impacted Files Coverage Δ
pydoctor/astbuilder.py 95.09% <100.00%> (+0.10%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 820a3fd...f65bbeb. Read the comment docs.

@tristanlatr tristanlatr changed the title Cleanup astbuilder. Cleanup astbuilder and add support for nested modules Aug 15, 2021
@tristanlatr
Copy link
Contributor Author

This is probably not needed if we are using pydocspec in the future.

@tristanlatr tristanlatr marked this pull request as draft September 10, 2021 12:17
@tristanlatr tristanlatr closed this Apr 6, 2022
@tristanlatr
Copy link
Contributor Author

I’m reopening this PR since I believe not everything is to be trashed here, especially the signature builder class.

@tristanlatr tristanlatr reopened this Jun 2, 2022
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.

None yet

1 participant