From bee2b2bf89e4e3e511337ede28cd6fd5d33a05bc Mon Sep 17 00:00:00 2001 From: Takashi Matsuo Date: Tue, 12 May 2020 17:30:32 -0700 Subject: [PATCH] chore: some lint fixes [(#3748)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/3748) --- samples/snippets/quickstart/pub_test.py | 5 +++-- samples/snippets/quickstart/sub_test.py | 7 +++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/samples/snippets/quickstart/pub_test.py b/samples/snippets/quickstart/pub_test.py index b9a6f807f..24010c76e 100644 --- a/samples/snippets/quickstart/pub_test.py +++ b/samples/snippets/quickstart/pub_test.py @@ -15,13 +15,14 @@ # limitations under the License. import os -import pytest import uuid from google.api_core.exceptions import AlreadyExists from google.cloud import pubsub_v1 +import pytest + +import pub # noqa -import pub UUID = uuid.uuid4().hex PROJECT = os.environ["GCLOUD_PROJECT"] diff --git a/samples/snippets/quickstart/sub_test.py b/samples/snippets/quickstart/sub_test.py index 1b59a3d04..2754dc56b 100644 --- a/samples/snippets/quickstart/sub_test.py +++ b/samples/snippets/quickstart/sub_test.py @@ -13,16 +13,15 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - -import mock import os -import pytest import uuid from google.api_core.exceptions import AlreadyExists from google.cloud import pubsub_v1 +import mock +import pytest -import sub +import sub # noqa UUID = uuid.uuid4().hex