summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2024-03-11 13:01:02 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2024-03-11 13:04:01 +0000
commit60f6e71cc4f904181099e0366d6385d3b1461f2d (patch)
tree5f609faa51675cb9393c6c44066710b98574919f
parentcaed5a551b9a1d590040e6aa92da56ffe5ff421e (diff)
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>
-rwxr-xr-xutils/checkstyle.py1
1 files changed, 1 insertions, 0 deletions
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*(.*)')