Skip to content

Commit a967983

Browse files
author
Takashi Matsuo
committed
chore: some lint fixes
1 parent af991db commit a967983

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

appengine/standard_python37/pubsub/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414

1515
# [START app]
1616
import base64
17-
from flask import current_app, Flask, render_template, request
1817
import json
1918
import logging
2019
import os
2120

21+
from flask import current_app, Flask, render_template, request
2222
from google.auth.transport import requests
2323
from google.cloud import pubsub_v1
2424
from google.oauth2 import id_token
@@ -39,6 +39,7 @@
3939
TOKENS = []
4040
CLAIMS = []
4141

42+
4243
# [START index]
4344
@app.route('/', methods=['GET', 'POST'])
4445
def index():

appengine/standard_python37/pubsub/main_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
import datetime
2121
import json
2222
import os
23-
import pytest
2423

2524
from google.auth import crypt
2625
from google.auth import jwt
2726
from google.oauth2 import id_token
27+
import pytest
2828

2929
import main
3030

automl/beta/set_endpoint_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@
1313
# limitations under the License.
1414

1515
import os
16+
1617
import set_endpoint
1718

19+
1820
PROJECT_ID = os.environ['GCLOUD_PROJECT']
1921

2022

bigquery/bqml/data_scientist_tutorial_test.py

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

15+
import uuid
16+
1517
# [START bqml_data_scientist_tutorial_import_and_client]
1618
from google.cloud import bigquery
1719
# [END bqml_data_scientist_tutorial_import_and_client]
1820
import pytest
19-
import uuid
21+
2022

2123
# [START bqml_data_scientist_tutorial_import_and_client]
2224
client = bigquery.Client()

0 commit comments

Comments
 (0)