utils: checkstyle.py: Fix known_trailers sort order
An unruly libcamera maintainer merged the wrong patch adding the Co-developed-by: tag to the known_trailers. Fix the sort order alphabetically to match the version which should have been merged. Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
committed by
Kieran Bingham
parent
60f6e71cc4
commit
cdb07a0217
@@ -471,6 +471,7 @@ class TrailersChecker(CommitChecker):
|
||||
known_trailers = {
|
||||
'Acked-by': email_regex,
|
||||
'Bug': link_regex,
|
||||
'Co-developed-by': email_regex,
|
||||
'Fixes': commit_regex,
|
||||
'Link': link_regex,
|
||||
'Reported-by': validate_reported_by,
|
||||
@@ -478,7 +479,6 @@ class TrailersChecker(CommitChecker):
|
||||
'Signed-off-by': email_regex,
|
||||
'Suggested-by': email_regex,
|
||||
'Tested-by': email_regex,
|
||||
'Co-developed-by': email_regex,
|
||||
}
|
||||
|
||||
trailer_regex = re.compile(r'([A-Z][a-zA-Z-]*)\s*:\s*(.*)')
|
||||
|
||||
Reference in New Issue
Block a user