From 60f6e71cc4f904181099e0366d6385d3b1461f2d Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 11 Mar 2024 13:01:02 +0100 Subject: 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 Reviewed-by: Kieran Bingham Reviewed-by: Jacopo Mondi Signed-off-by: Kieran Bingham --- utils/checkstyle.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/checkstyle.py b/utils/checkstyle.py index fb03dc34..52cf770c 100755 --- a/utils/checkstyle.py +++ b/utils/checkstyle.py @@ -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*(.*)') -- cgit v1.2.1