summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/checkstyle.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/checkstyle.py b/utils/checkstyle.py
index 5cc523b6..7da888d8 100755
--- a/utils/checkstyle.py
+++ b/utils/checkstyle.py
@@ -191,6 +191,9 @@ class CommitFile:
else:
self.__filename = info[1]
+ def __repr__(self):
+ return f'{self.__status} {self.__filename}'
+
@property
def filename(self):
return self.__filename