diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-06-12 16:53:57 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-07-05 17:11:26 +0300 |
commit | d06ed87d49ca3d734fd1c2f1409280abb499c625 (patch) | |
tree | c3c0df4e366894783c72df578066500cf23558ed /src/py/examples | |
parent | 925ee0ac8ecfd43aa219f6bad04b3b7e90d0b76d (diff) |
utils: checkstyle: Add trailers checker
The libcamera git history contains numerous examples of incorrect commit
message trailers due to invalid trailer types (e.g. Change-Id), typos
and other small issues. Those went unnoticed through reviews, which
shows that an automated checker is required.
Add a trailers checker to checkstyle.py to catch invalid or malformed
trailers, with a set of supported trailers that match libcamera's commit
message practices. New trailer keys can easily be added later as new
needs arise.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/py/examples')
0 files changed, 0 insertions, 0 deletions