ansible-community / antsibull-changelog

Changelog generator for ansible, ansible-base, and collections.
https://ansible.readthedocs.io/projects/antsibull-changelog/
GNU General Public License v3.0
38 stars 28 forks source link

Make CLI startup faster, support tab completion with argcomplete #173

Closed felixfontein closed 2 months ago

felixfontein commented 2 months ago

Basically argcomplete support was already partially there, but the marker was missing to easily use it.

This also changes code to only import ansible and rstcheck/docutils when needed; this improves performance a lot (and thus makes tab complete less sluggy). On my machine, running antsibull-changelog --help sped up from ~0.6s to ~0.1s.

felixfontein commented 2 months ago

Codecov gets less and less reliable and useful, it seems. I've started to mostly ignore it since it most of the time forgets some uploaded results and reports the wrong coverage number anyway.

felixfontein commented 2 months ago

@gotmax23 thanks for reviewing this!