-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
scripts: ci: check_compliancy: Add zephyr-keep-sorted regex support #80444
Conversation
5f8658d
to
9ce9268
Compare
9ce9268
to
285bf21
Compare
285bf21
to
41c87e9
Compare
To support checking for sorted blocks of multi-line text add an optional regex pattern for the KeepSorted compliance check. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Keep the UNDEF_KCONFIG_ALLOWLIST list sorted, as mentioned in the comment. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
41c87e9
to
7143c2b
Compare
Hey @pdgendt, wasn't the foldback feature enough to cover milti-line text? I'm happy with the feature if we need it but I can't quite wrap my head around why it was not working before and would rather keep the simpler code base if possible |
It won't work for example for #79754, but there are probably more cases in tree that could benefit from this IMO. |
Oh because the closing bracket is not folded back? |
Yes |
To support checking for sorted blocks of multi-line text add an optional regex pattern for the KeepSorted compliance check.