aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorPat Ferate <pferate+github@gmail.com>2016-07-10 17:24:18 -0700
committerPat Ferate <pferate+github@gmail.com>2016-07-11 08:14:03 -0700
commit09e9420ab7b0d6e0f21c25f2377ecee7d027fc02 (patch)
tree52c85f368086af0dc904bc8b1df47d0b863d6bad /samples
parent6b6c56d3ee60c749f74f746300934e3ae18c56c1 (diff)
downloadoauth2client-09e9420ab7b0d6e0f21c25f2377ecee7d027fc02.tar.gz
Check for Google import order style in flake8
Diffstat (limited to 'samples')
-rw-r--r--samples/call_compute_service.py1
-rw-r--r--samples/googleappengine/call_compute_service_from_gae.py3
-rw-r--r--samples/oauth2_for_devices.py3
3 files changed, 5 insertions, 2 deletions
diff --git a/samples/call_compute_service.py b/samples/call_compute_service.py
index c5f372e..72beef0 100644
--- a/samples/call_compute_service.py
+++ b/samples/call_compute_service.py
@@ -5,6 +5,7 @@
# See: https://developers.google.com/compute/docs/authentication
from googleapiclient.discovery import build
+
from oauth2client.client import GoogleCredentials
diff --git a/samples/googleappengine/call_compute_service_from_gae.py b/samples/googleappengine/call_compute_service_from_gae.py
index 5c7fa33..3557f58 100644
--- a/samples/googleappengine/call_compute_service_from_gae.py
+++ b/samples/googleappengine/call_compute_service_from_gae.py
@@ -1,8 +1,9 @@
# To be used to test GoogleCredentials.get_application_default()
# from devel GAE (ie, dev_appserver.py).
-import webapp2
from googleapiclient.discovery import build
+import webapp2
+
from oauth2client.client import GoogleCredentials
diff --git a/samples/oauth2_for_devices.py b/samples/oauth2_for_devices.py
index 6b3b72e..6e70ff1 100644
--- a/samples/oauth2_for_devices.py
+++ b/samples/oauth2_for_devices.py
@@ -2,10 +2,11 @@
# See: https://developers.google.com/accounts/docs/OAuth2ForDevices
+from googleapiclient.discovery import build
import httplib2
from six.moves import input
+
from oauth2client.client import OAuth2WebServerFlow
-from googleapiclient.discovery import build
CLIENT_ID = "some+client+id"
CLIENT_SECRET = "some+client+secret"