summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-10-18 16:50:11 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-11-05 03:50:12 +0200
commit57224387540e008c7f0d440890cce22154c95c5e (patch)
tree06528c036646727c6b4d776127ba663979943d29 /utils/raspberrypi/ctt/ctt.py
parentb488a862dfd8b81f7aeba00342af0e15e60b9fcd (diff)
utils: checkstyle.py: Print issues using __str__
CommitIssue and StyleIssue classes have different string representations, which are handled by type-specific print() calls in the code that handles the issues. This requires the user to know which type of issue it is dealing with. Simplify that by moving the string representation logic to a __str__() method. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'utils/raspberrypi/ctt/ctt.py')
0 files changed, 0 insertions, 0 deletions