Skip to content

Commit 810182a

Browse files
committed
lint
1 parent 5d3a3a1 commit 810182a

7 files changed

Lines changed: 8 additions & 14 deletions

File tree

packages/google-cloud-storage/google/cloud/storage/asyncio/async_write_object_stream.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
from google.api_core.bidi_async import AsyncBidiRpc
1919

2020
from google.cloud import _storage_v2
21-
from google.cloud.storage import Blob
22-
from google.cloud.storage import _grpc_conversions
21+
from google.cloud.storage import Blob, _grpc_conversions
2322
from google.cloud.storage.asyncio import _utils
2423
from google.cloud.storage.asyncio.async_abstract_object_stream import (
2524
_AsyncAbstractObjectStream,

packages/google-cloud-storage/noxfile.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -614,10 +614,7 @@ def prerelease_deps(session, protobuf_implementation):
614614
f"import {version_namespace}; print({version_namespace}.__version__)",
615615
)
616616
# Remaining dependencies
617-
other_deps = [
618-
"requests",
619-
"pyopenssl"
620-
]
617+
other_deps = ["requests", "pyopenssl"]
621618
session.install(*other_deps)
622619

623620
session.run(

packages/google-cloud-storage/tests/system/test_zonal.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111
import pytest
1212
from google.api_core.exceptions import FailedPrecondition, NotFound, OutOfRange
1313

14+
# current library imports
15+
from google.cloud import kms
1416
from google.cloud.storage.asyncio.async_appendable_object_writer import (
1517
_DEFAULT_FLUSH_INTERVAL_BYTES,
1618
AsyncAppendableObjectWriter,
1719
)
18-
19-
# current library imports
20-
from google.cloud import kms
2120
from google.cloud.storage.asyncio.async_grpc_client import AsyncGrpcClient
2221
from google.cloud.storage.asyncio.async_multi_range_downloader import (
2322
AsyncMultiRangeDownloader,

packages/google-cloud-storage/tests/unit/asyncio/retry/test_reads_resumption_strategy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
import io
1717
import unittest
1818

19-
from google.api_core import exceptions
2019
import google_crc32c
20+
from google.api_core import exceptions
2121

2222
from google.cloud import _storage_v2 as storage_v2
2323
from google.cloud._storage_v2.types.storage import BidiReadObjectRedirectedError

packages/google-cloud-storage/tests/unit/asyncio/test_async_appendable_object_writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
import pytest
2020
from google.api_core import exceptions
2121
from google.rpc import status_pb2
22-
from google.cloud.storage import Blob
2322

2423
from google.cloud._storage_v2.types import storage as storage_type
2524
from google.cloud._storage_v2.types.storage import BidiWriteObjectRedirectedError
25+
from google.cloud.storage import Blob
2626
from google.cloud.storage.asyncio.async_appendable_object_writer import (
2727
_DEFAULT_FLUSH_INTERVAL_BYTES,
2828
_MAX_CHUNK_SIZE_BYTES,

packages/google-cloud-storage/tests/unit/asyncio/test_async_multi_range_downloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
from unittest import mock
1818
from unittest.mock import AsyncMock
1919

20+
import google_crc32c
2021
import pytest
2122
from google.api_core import exceptions
22-
import google_crc32c
2323

2424
from google.cloud import _storage_v2
2525
from google.cloud.storage.asyncio import async_read_object_stream

packages/google-cloud-storage/tests/unit/asyncio/test_async_write_object_stream.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
import pytest
2020

2121
from google.cloud import _storage_v2
22-
from google.cloud.storage import Blob
23-
from google.cloud.storage import Bucket
22+
from google.cloud.storage import Blob, Bucket
2423
from google.cloud.storage.asyncio.async_write_object_stream import (
2524
_AsyncWriteObjectStream,
2625
)

0 commit comments

Comments
 (0)