Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit f04c6cc

Browse files
author
Takashi Matsuo
authored
chore: some lint fixes [(#3743)](GoogleCloudPlatform/python-docs-samples#3743)
1 parent e99beec commit f04c6cc

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

samples/snippets/create_cluster_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
import os
1616
import uuid
17-
import pytest
1817

1918
from google.cloud import dataproc_v1 as dataproc
19+
import pytest
2020

2121
import create_cluster
2222

samples/snippets/quickstart/quickstart_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414

1515
import os
1616
import uuid
17-
import pytest
1817

1918
from google.cloud import dataproc_v1 as dataproc
2019
from google.cloud import storage
20+
import pytest
2121

2222
import quickstart
2323

samples/snippets/single_job_workflow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@
2828
import os
2929

3030
from google.cloud import dataproc_v1
31+
from google.cloud import storage
3132
from google.cloud.dataproc_v1.gapic.transports import (
3233
workflow_template_service_grpc_transport)
33-
from google.cloud import storage
34+
3435

3536
DEFAULT_FILENAME = "pyspark_sort.py"
3637
waiting_callback = False

samples/snippets/submit_job_to_cluster.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@
3333
import os
3434

3535
from google.cloud import dataproc_v1
36+
from google.cloud import storage
3637
from google.cloud.dataproc_v1.gapic.transports import (
3738
cluster_controller_grpc_transport)
3839
from google.cloud.dataproc_v1.gapic.transports import (
3940
job_controller_grpc_transport)
40-
from google.cloud import storage
41+
4142

4243
DEFAULT_FILENAME = 'pyspark_sort.py'
4344
waiting_callback = False

0 commit comments

Comments
 (0)