scripts: ci: check_compliance: Order list alphabetically
Print the compliance checks alphabetically by default. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
4f4c7b90a4
commit
f7e130f982
1 changed files with 1 additions and 1 deletions
|
@ -1717,7 +1717,7 @@ def _main(args):
|
|||
logger.info(f'Running tests on commit range {COMMIT_RANGE}')
|
||||
|
||||
if args.list:
|
||||
for testcase in inheritors(ComplianceTest):
|
||||
for testcase in sorted(inheritors(ComplianceTest), key=lambda x: x.name):
|
||||
print(testcase.name)
|
||||
return 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue