Skip to content

Commit 8adb97a

Browse files
author
Takashi Matsuo
authored
chore: some lint fixes [(#3748)](GoogleCloudPlatform/python-docs-samples#3748)
1 parent f8274ab commit 8adb97a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

samples/snippets/quickstart/pub_test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@
1515
# limitations under the License.
1616

1717
import os
18-
import pytest
1918
import uuid
2019

2120
from google.api_core.exceptions import AlreadyExists
2221
from google.cloud import pubsub_v1
22+
import pytest
23+
24+
import pub # noqa
2325

24-
import pub
2526

2627
UUID = uuid.uuid4().hex
2728
PROJECT = os.environ["GCLOUD_PROJECT"]

samples/snippets/quickstart/sub_test.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,15 @@
1313
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
16-
17-
import mock
1816
import os
19-
import pytest
2017
import uuid
2118

2219
from google.api_core.exceptions import AlreadyExists
2320
from google.cloud import pubsub_v1
21+
import mock
22+
import pytest
2423

25-
import sub
24+
import sub # noqa
2625

2726

2827
UUID = uuid.uuid4().hex

0 commit comments

Comments
 (0)