8000 flake8 caught an unused import · tpetr/github3.py@f38caf2 · GitHub
[go: up one dir, main page]

Skip to content

Commit f38caf2

Browse files
committed
flake8 caught an unused import
1 parent 6393b76 commit f38caf2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

github3/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ def auth_wrapper(self, *args, **kwargs):
6262
# Use mock decorators when generating documentation, so all functino signatures
6363
# are displayed correctly
6464
if os.getenv('GENERATING_DOCUMENTATION', None) == 'github3':
65-
requires_auth = requires_basic_auth = lambda x: x # (No coverage)
65+
requires_auth = requires_basic_auth = lambda x: x # noqa # (No coverage)

github3/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from json import dumps
1010
from requests import session
11-
from requests.compat import urlparse, basestring
11+
from requests.compat import urlparse
1212
from github3.decorators import requires_auth
1313
from github3.packages.PySO8601 import parse
1414
from github3 import __version__

0 commit comments

Comments
 (0)
0