twisted / pydoctor

This is pydoctor, an API documentation generator that works by static analysis.
https://pydoctor.readthedocs.io
Other
179 stars 48 forks source link

Post processors priority #726

Closed tristanlatr closed 9 months ago

tristanlatr commented 1 year ago

Give the possibility register post processors with handling of processing order based on priority number.

This is how I plan to handle the fact that link transformation (#723) should happen in post-processing after MRO computing and before reparenting. While the zope interafce post processor is designed to be executed after reparenting.

This should be an easy review.

codecov[bot] commented 1 year ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (f03223c) 92.68% compared to head (0f23646) 92.71%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #726 +/- ## ========================================== + Coverage 92.68% 92.71% +0.02% ========================================== Files 47 47 Lines 8180 8207 +27 Branches 1959 1963 +4 ========================================== + Hits 7582 7609 +27 Misses 343 343 Partials 255 255 ``` | [Files](https://app.codecov.io/gh/twisted/pydoctor/pull/726?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=twisted) | Coverage Δ | | |---|---|---| | [pydoctor/astbuilder.py](https://app.codecov.io/gh/twisted/pydoctor/pull/726?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=twisted#diff-cHlkb2N0b3IvYXN0YnVpbGRlci5weQ==) | `96.61% <100.00%> (+<0.01%)` | :arrow_up: | | [pydoctor/extensions/\_\_init\_\_.py](https://app.codecov.io/gh/twisted/pydoctor/pull/726?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=twisted#diff-cHlkb2N0b3IvZXh0ZW5zaW9ucy9fX2luaXRfXy5weQ==) | `98.85% <100.00%> (+0.48%)` | :arrow_up: | | [pydoctor/model.py](https://app.codecov.io/gh/twisted/pydoctor/pull/726?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=twisted#diff-cHlkb2N0b3IvbW9kZWwucHk=) | `94.70% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

tristanlatr commented 11 months ago

This is an easy review @buhtz, if you have time to help :)