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:
Hans de Goede 2024-03-11 13:01:02 +01:00 committed by Kieran Bingham
parent caed5a551b
commit 60f6e71cc4

View file

@ -478,6 +478,7 @@ 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*(.*)')