Skip to content

Commit

Permalink
chore: some lint fixes (#3737)
Browse files Browse the repository at this point in the history
  • Loading branch information
Takashi Matsuo authored May 12, 2020
1 parent b9e1c64 commit 7197c6a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion appengine/standard_python37/pubsub/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@

# [START app]
import base64
from flask import current_app, Flask, render_template, request
import json
import logging
import os

from flask import current_app, Flask, render_template, request
from google.auth.transport import requests
from google.cloud import pubsub_v1
from google.oauth2 import id_token
Expand All @@ -39,6 +39,7 @@
TOKENS = []
CLAIMS = []


# [START index]
@app.route('/', methods=['GET', 'POST'])
def index():
Expand Down
2 changes: 1 addition & 1 deletion appengine/standard_python37/pubsub/main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
import datetime
import json
import os
import pytest

from google.auth import crypt
from google.auth import jwt
from google.oauth2 import id_token
import pytest

import main

Expand Down
2 changes: 2 additions & 0 deletions automl/beta/set_endpoint_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
# limitations under the License.

import os

import set_endpoint


PROJECT_ID = os.environ['GCLOUD_PROJECT']


Expand Down
4 changes: 3 additions & 1 deletion bigquery/bqml/data_scientist_tutorial_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import uuid

# [START bqml_data_scientist_tutorial_import_and_client]
from google.cloud import bigquery
# [END bqml_data_scientist_tutorial_import_and_client]
import pytest
import uuid


# [START bqml_data_scientist_tutorial_import_and_client]
client = bigquery.Client()
Expand Down

0 comments on commit 7197c6a

Please sign in to comment.