twisted / pydoctor

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

Minor optimizations in astutils.py #788

Closed tristanlatr closed 2 months ago

tristanlatr commented 2 months ago

Some small tweaks... The big part of the optimizations should be done in the twisted _flatten.py module.

github-actions[bot] commented 2 months ago

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

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.62%. Comparing base (e03b43e) to head (35117b7).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #788 +/- ## ========================================== + Coverage 92.60% 92.62% +0.01% ========================================== Files 47 47 Lines 8389 8393 +4 Branches 1850 1850 ========================================== + Hits 7769 7774 +5 Misses 356 356 + Partials 264 263 -1 ```

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

github-actions[bot] commented 2 months ago

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