Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
goliaro committed Oct 26, 2022
1 parent 9e6c39e commit d8ff866
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions github/WorkflowRun.py
Expand Up @@ -319,8 +319,12 @@ def _useAttributes(self, attributes):
if "event" in attributes: # pragma no branch
self._event = self._makeStringAttribute(attributes["event"])
if "run_started_at" in attributes: # pragma no branch
assert attributes["run_started_at"] is None or isinstance(attributes["run_started_at"], str), attributes["run_started_at"]
self._run_started_at = self._makeDatetimeAttribute(attributes["run_started_at"])
assert attributes["run_started_at"] is None or isinstance(
attributes["run_started_at"], str
), attributes["run_started_at"]
self._run_started_at = self._makeDatetimeAttribute(
attributes["run_started_at"]
)
if "status" in attributes: # pragma no branch
self._status = self._makeStringAttribute(attributes["status"])
if "conclusion" in attributes: # pragma no branch
Expand Down

0 comments on commit d8ff866

Please sign in to comment.