This repository has been archived by the owner on Nov 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for Google import order style in flake8
- Loading branch information
Showing
47 changed files
with
155 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
|
||
import base64 | ||
import json | ||
|
||
import six | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,25 +23,26 @@ | |
import json | ||
import logging | ||
import os | ||
import shutil | ||
import socket | ||
import sys | ||
import tempfile | ||
import shutil | ||
|
||
import httplib2 | ||
import six | ||
from six.moves import http_client | ||
from six.moves import urllib | ||
|
||
import httplib2 | ||
from oauth2client import clientsecrets | ||
from oauth2client import GOOGLE_AUTH_URI | ||
from oauth2client import GOOGLE_DEVICE_URI | ||
from oauth2client import GOOGLE_REVOKE_URI | ||
from oauth2client import GOOGLE_TOKEN_URI | ||
from oauth2client import GOOGLE_TOKEN_INFO_URI | ||
from oauth2client import GOOGLE_TOKEN_URI | ||
from oauth2client import util | ||
from oauth2client._helpers import _from_bytes | ||
from oauth2client._helpers import _to_bytes | ||
from oauth2client._helpers import _urlsafe_b64decode | ||
from oauth2client import clientsecrets | ||
from oauth2client import util | ||
|
||
|
||
__author__ = '[email protected] (Joe Gregorio)' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,8 @@ | |
""" | ||
|
||
import json | ||
import six | ||
|
||
import six | ||
|
||
__author__ = '[email protected] (Joe Gregorio)' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -162,14 +162,11 @@ def requires_calendar(): | |
:class:`oauth2client.Storage`. | ||
""" | ||
|
||
from functools import wraps | ||
import hashlib | ||
import json | ||
import os | ||
import pickle | ||
from functools import wraps | ||
|
||
import six.moves.http_client as httplib | ||
import httplib2 | ||
|
||
try: | ||
from flask import Blueprint | ||
|
@@ -182,10 +179,13 @@ def requires_calendar(): | |
except ImportError: # pragma: NO COVER | ||
raise ImportError('The flask utilities require flask 0.9 or newer.') | ||
|
||
import httplib2 | ||
import six.moves.http_client as httplib | ||
|
||
from oauth2client import clientsecrets | ||
from oauth2client.client import FlowExchangeError | ||
from oauth2client.client import OAuth2WebServerFlow | ||
from oauth2client.contrib.dictionary_storage import DictionaryStorage | ||
from oauth2client import clientsecrets | ||
|
||
|
||
__author__ = '[email protected] (Jon Wayne Parrott)' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,12 +50,11 @@ | |
import os | ||
import threading | ||
|
||
from oauth2client import util | ||
from oauth2client.client import Credentials | ||
from oauth2client.client import Storage as BaseStorage | ||
from oauth2client import util | ||
from oauth2client.contrib.locked_file import LockedFile | ||
|
||
|
||
__author__ = '[email protected] (Joe Beda)' | ||
|
||
logger = logging.getLogger(__name__) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,8 @@ | |
import hmac | ||
import time | ||
|
||
from oauth2client._helpers import _to_bytes | ||
from oauth2client import util | ||
from oauth2client._helpers import _to_bytes | ||
|
||
__authors__ = [ | ||
'"Doug Coker" <[email protected]>', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.