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

CI: Update ipt #2347

Merged
merged 8 commits into from
Feb 14, 2025
Merged

CI: Update ipt #2347

merged 8 commits into from
Feb 14, 2025

Conversation

t-b
Copy link
Collaborator

@t-b t-b commented Feb 4, 2025

  • Get BugproneReservedKeywordsAsIdentifier fixed upstream
  • Fix BugproneReservedKeywordsAsIdentifier
  • Fix BugproneMissingSwitchDefaultCase
  • Add relevant commits to .git-blame-ignore-revs As the changes are not pure formatting, we don't want to ignore them.

@t-b t-b self-assigned this Feb 4, 2025
@t-b t-b force-pushed the feature/2347-update-ipt branch 2 times, most recently from 728a51e to dc6c6b9 Compare February 10, 2025 21:05
@t-b t-b marked this pull request as ready for review February 10, 2025 21:48
@t-b
Copy link
Collaborator Author

t-b commented Feb 10, 2025

Will merge once CI passes.

@t-b t-b force-pushed the feature/2347-update-ipt branch 2 times, most recently from 9adc1db to 47b2167 Compare February 11, 2025 22:42
@t-b t-b mentioned this pull request Feb 11, 2025
23 tasks
@t-b t-b enabled auto-merge February 11, 2025 23:40
@t-b
Copy link
Collaborator Author

t-b commented Feb 11, 2025

@timjarsky Could you rubber stamp this, so that the automatic merge can kick in overnight?

timjarsky
timjarsky previously approved these changes Feb 11, 2025
t-b added 5 commits February 13, 2025 19:09
For now we disable all the new linters which fail.
BugproneLoopInitializationAssignment is already passing.
In both cases we actually wanted to have a free wave were we don't need /O.
t-b added 3 commits February 13, 2025 22:51
The to be fixed cases can fall in three categories:
- GUI switch statements for controls and window hooks: We always want to
  not do anything in the default clause
- Cases were we iterated over all possible values, this needs an
  assertion or a FAIL statement for the tests
- Cases were we don't want to do anything for certain values. This is
  mostly done with a comment.
The new ipt linting rule ReadabilityMissingParenthesis creates code like

for(i = oldSize; i < (arrayIndex + 1); i += 1)

which is without the fix being complained at.
The tests CheckIfAllControlsReferStateWv and CheckStartupSettings needed
to learn that there is nothing to do for the group and the title box.
@t-b t-b force-pushed the feature/2347-update-ipt branch from 9c456af to d9733d4 Compare February 13, 2025 21:51
@t-b t-b disabled auto-merge February 14, 2025 08:56
@t-b t-b merged commit f4a3c4d into main Feb 14, 2025
20 checks passed
@t-b t-b deleted the feature/2347-update-ipt branch February 14, 2025 08:56
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