diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-10-18 16:50:11 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-11-05 03:50:11 +0200 |
commit | b488a862dfd8b81f7aeba00342af0e15e60b9fcd (patch) | |
tree | e8e5f3e26b8bfb9f14ed9ecc98b818a4fb2a4d3d /test/timer.cpp | |
parent | 5f7bcd93fdc8676921b228ee1029550c1207fb14 (diff) |
utils: checkstyle.py: Turn check() into a class method for all checkers
The check() method of StyleChecker subclasses are instance methods,
while CommitChecker subclasses use class methods. This makes unified
handling of checkers more complicated. Turn the StyleChecker check()
method into a class method, passing it the contents to be checked
directly.
While at it, fix two style issues reported by checkstyle.py.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/timer.cpp')
0 files changed, 0 insertions, 0 deletions