Skip to content

Commit e8e45ea

Browse files
committed
Fix line length and docstring
1 parent f2b0bdd commit e8e45ea

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

github3/git.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def update(self, sha, force=False):
222222
(required), sha of the reference
223223
:param bool force:
224224
(optional), force the update or not
225-
:returns
225+
:returns:
226226
True if successful, False otherwise
227227
:rtype:
228228
bool

github3/repos/commit.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ def _update_attributes(self, commit):
4141
)
4242

4343
#: :class:`Commit <github3.git.Commit>`.
44-
self.commit = self._class_attribute(commit, 'commit', git.ShortCommit, self)
44+
self.commit = self._class_attribute(
45+
commit, 'commit', git.ShortCommit, self,
46+
)
4547

4648
self.sha = self._get_attribute(commit, 'sha')
4749

0 commit comments

Comments
 (0)