utils: checkstyle.py: Add Co-developed-by to known_trailers
Add Co-developed-by to known_trailers to silence false positive "Invalid commit trailer key 'Co-developed-by'" warnings. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
caed5a551b
commit
60f6e71cc4
1 changed files with 1 additions and 0 deletions
|
@ -478,6 +478,7 @@ class TrailersChecker(CommitChecker):
|
||||||
'Signed-off-by': email_regex,
|
'Signed-off-by': email_regex,
|
||||||
'Suggested-by': email_regex,
|
'Suggested-by': email_regex,
|
||||||
'Tested-by': email_regex,
|
'Tested-by': email_regex,
|
||||||
|
'Co-developed-by': email_regex,
|
||||||
}
|
}
|
||||||
|
|
||||||
trailer_regex = re.compile(r'([A-Z][a-zA-Z-]*)\s*:\s*(.*)')
|
trailer_regex = re.compile(r'([A-Z][a-zA-Z-]*)\s*:\s*(.*)')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue