Skip to content

pre-commit: keep sorted lists in order#9024

Merged
alexreinking merged 4 commits intomainfrom
alexreinking/pre-commit/keep-sorted
Mar 15, 2026
Merged

pre-commit: keep sorted lists in order#9024
alexreinking merged 4 commits intomainfrom
alexreinking/pre-commit/keep-sorted

Conversation

@alexreinking
Copy link
Copy Markdown
Member

I restricted my attention to long lists of mostly-sorted items, and places where the comments specifically asked to keep things sorted. A few of those "please keep sorted" lists weren't actually sorted!

@alexreinking alexreinking requested a review from mcourteaux March 14, 2026 16:39
@alexreinking alexreinking merged commit 751a691 into main Mar 15, 2026
23 checks passed
@alexreinking alexreinking deleted the alexreinking/pre-commit/keep-sorted branch March 15, 2026 11:34
alexreinking added a commit that referenced this pull request Mar 16, 2026
In #9024 I noticed a comment about clang-tidy not respecting disabling
checks that were matched by a wildcard. Maybe that was true in
clang-tidy 16 (as indicated by the comment), but it is not true today.

Also refine the ./run-clang-tidy.sh script to:

1. Correctly filter the noisy "N warnings generated" output by running
   clang-tidy in a wrapper script. Previously, independent instances
   could race to write and the sed filter wouldn't catch them.
2. Remove unused patch_file function
3. Use jq to better handle merging the runtime compile-commands
   databases.
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