Skip to content

Commit c32b451

Browse files
omgjlkwestphahl
authored andcommitted
Include check suite status in _repr
This mirrors how we represent a check run as well.
1 parent ba371f2 commit c32b451

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/github3/checks.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ def _update_attributes(self, suite):
8383
self.id = suite['id']
8484

8585
def _repr(self):
86-
return '<{0} [{1}]>'.format(self.class_name, self.id)
87-
# FIXME(omgjlk): This could be more descriptive perhaps
86+
return '<{s.class_name} [{s.id}:{s.status}]>'.format(s=self)
8887

8988
@requires_auth
9089
def rerequest(self):

0 commit comments

Comments
 (0)