Skip to content

Codechange: improve output of annotations check#86

Merged
glx22 merged 1 commit intoOpenTTD:mainfrom
glx22:annotation_check
Jan 7, 2025
Merged

Codechange: improve output of annotations check#86
glx22 merged 1 commit intoOpenTTD:mainfrom
glx22:annotation_check

Conversation

@glx22
Copy link
Copy Markdown
Contributor

@glx22 glx22 commented Dec 7, 2024

Printing the annotation was already an improvement, but it was not enough.
Removed a useless optional core.info() as in most cases output.title and output.summary are null.
Refactor with early continue.
Grouped annotations by job name.

Before (using a modified OpenTTD to trigger some warning):
image

After (using a modified OpenTTD to trigger some warning):image

@glx22 glx22 force-pushed the annotation_check branch from 1585292 to 3828109 Compare January 6, 2025 23:59
@glx22 glx22 merged commit c5a13fe into OpenTTD:main Jan 7, 2025
@glx22 glx22 deleted the annotation_check branch January 7, 2025 12:22
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.

2 participants