Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbe909e1

Browse files
committed
Flake8
1 parent5f55aef commitbe909e1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎github3/repos/repo.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
fromjsonimportdumps
1111
frombase64importb64encode
1212
fromcollectionsimportCallable
13-
fromdatetimeimportdatetime
1413
fromgithub3.decoratorsimportrequires_auth
1514
fromgithub3.eventsimportEvent
1615
fromgithub3.gitimportBlob,Commit,Reference,Tag,Tree
@@ -968,7 +967,7 @@ def iter_commit_activity(self, number=-1, etag=None):
968967
url=self._build_url('stats','commit_activity',base_url=self._api)
969968
returnself._iter(int(number),url,dict,etag=etag)
970969

971-
defiter_commits(self,sha=None,path=None,author=None,number=-1,
970+
defiter_commits(self,sha=None,path=None,author=None,number=-1,
972971
etag=None,since=None,until=None):
973972
"""Iterate over commits in this repository.
974973
@@ -1246,15 +1245,16 @@ def iter_notifications(self, all=False, participating=False, since=None,
12461245
:param bool participating: (optional), show only the notifications the
12471246
user is participating in directly
12481247
:param since: (optional), filters out any notifications updated
1249-
before the given time. This can be a `datetime` or an `ISO8601` formatted
1250-
date string, e.g., 2012-05-20T23:10:27Z
1248+
before the given time. This can be a `datetime` or an `ISO8601`
1249+
formatteddate string, e.g., 2012-05-20T23:10:27Z
12511250
:type since: datetime or string
12521251
:param str etag: (optional), ETag from a previous request to the same
12531252
endpoint
12541253
:returns: generator of :class:`Thread <github3.notifications.Thread>`
12551254
"""
12561255
url=self._build_url('notifications',base_url=self._api)
1257-
params= {'all':all,'participating':participating,'since':timestamp_parameter(since)}
1256+
params= {'all':all,'participating':participating,
1257+
'since':timestamp_parameter(since)}
12581258
for (k,v)inlist(params.items()):
12591259
ifnotv:
12601260
delparams[k]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp