[PATCH v2] utils: checkstyle.py: Add Co-developed-by to known_trailers
Hans de Goede
hdegoede at redhat.com
Mon Mar 11 13:58:03 CET 2024
Add Co-developed-by to known_trailers to silence false positive
"Invalid commit trailer key 'Co-developed-by'" warnings.
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi at ideasonboard.com>
Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
Changes in v2:
- Keep known_trailers entries sorted alphabetically
---
utils/checkstyle.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/utils/checkstyle.py b/utils/checkstyle.py
index fb03dc34..db5a550d 100755
--- a/utils/checkstyle.py
+++ b/utils/checkstyle.py
@@ -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,
--
2.44.0
More information about the libcamera-devel
mailing list