Skip to content

Commit f7e130f

Browse files
pdgendtnashif
authored andcommitted
scripts: ci: check_compliance: Order list alphabetically
Print the compliance checks alphabetically by default. Signed-off-by: Pieter De Gendt <[email protected]>
1 parent 4f4c7b9 commit f7e130f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ci/check_compliance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1717,7 +1717,7 @@ def _main(args):
17171717
logger.info(f'Running tests on commit range {COMMIT_RANGE}')
17181718

17191719
if args.list:
1720-
for testcase in inheritors(ComplianceTest):
1720+
for testcase in sorted(inheritors(ComplianceTest), key=lambda x: x.name):
17211721
print(testcase.name)
17221722
return 0
17231723

0 commit comments

Comments
 (0)