Skip to content

Commit 24245db

Browse files
authored
fix: isort --profile google (#13074)
1 parent d160edb commit 24245db

File tree

9 files changed

+25
-18
lines changed

9 files changed

+25
-18
lines changed

appengine/standard/migration/incoming/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
"""
1818

1919
# [START gae_python_app_identity_incoming]
20-
from google.oauth2 import id_token
21-
from google.auth.transport import requests
22-
2320
import logging
21+
22+
from google.auth.transport import requests
23+
from google.oauth2 import id_token
2424
import webapp2
2525

2626

appengine/standard/migration/storage/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from flask import Flask, make_response
1615
import os
1716

17+
from flask import Flask
18+
from flask import make_response
1819
from google.cloud import storage
1920

20-
2121
app = Flask(__name__)
2222

2323

appengine/standard/migration/storage/main_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import main
1615
import os
1716
import uuid
1817

18+
import main
19+
1920

2021
def test_index():
2122
main.app.testing = True

appengine/standard/migration/taskqueue/pull-counter/appengine_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
from google.appengine.ext import vendor
1516
# appengine_config.py
1617
import pkg_resources
17-
from google.appengine.ext import vendor
1818

1919
# Set path to your libraries folder.
2020
path = "lib"

appengine/standard/migration/taskqueue/pull-counter/main.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@
2121
import os
2222
import time
2323

24-
from flask import Flask, redirect, render_template, request
24+
from flask import Flask
25+
from flask import redirect
26+
from flask import render_template
27+
from flask import request
2528
from google.cloud import datastore
2629
from google.cloud import pubsub_v1 as pubsub
2730

28-
2931
app = Flask(__name__)
3032
datastore_client = datastore.Client()
3133
publisher = pubsub.PublisherClient()

appengine/standard/migration/taskqueue/pull-counter/main_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import pytest
1615
import uuid
1716

18-
import main
17+
import pytest
1918

19+
import main
2020

2121
TEST_NAME = "taskqueue-migration-" + str(uuid.uuid4())
2222
TEST_TASKS = {"alpha": 2, "beta": 1, "gamma": 3}

appengine/standard/migration/urlfetch/async/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414

1515
# [START app]
1616
import logging
17+
from time import sleep
1718

18-
from flask import Flask, make_response
19-
19+
from flask import Flask
20+
from flask import make_response
2021
# [START imports]
2122
from requests_futures.sessions import FuturesSession
22-
from time import sleep
2323

2424
# [END imports]
2525

appengine/standard/migration/urlfetch/async/main_test.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import main
16-
import pytest
1715
import sys
1816

17+
import pytest
18+
19+
import main
20+
1921

2022
@pytest.mark.skipif(sys.version_info < (3, 0), reason="no urlfetch adapter in test env")
2123
def test_index():

appengine/standard/migration/urlfetch/requests/main_test.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import main
16-
import pytest
1715
import sys
1816

17+
import pytest
18+
19+
import main
20+
1921

2022
@pytest.mark.skipif(sys.version_info < (3, 0), reason="no urlfetch adapter in test env")
2123
def test_index():

0 commit comments

Comments
 (0)