[PATCH] utils: checkstyle.py: Add Co-developed-by to known_trailers
Hans de Goede
hdegoede at redhat.com
Mon Mar 11 13:01:02 CET 2024
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 at redhat.com>
---
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*(.*)')
--
2.44.0
More information about the libcamera-devel
mailing list