Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 3b9a3b3

Browse files
committed
style: apply pre-commit
1 parent 1d3959c commit 3b9a3b3

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

storage3/_sync/bucket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from httpx import HTTPError, Response
66

77
from ..types import RequestMethod
8-
from ..utils import SyncClient, StorageException
8+
from ..utils import StorageException, SyncClient
99
from .file_api import SyncBucket
1010

1111
__all__ = ["SyncStorageBucketAPI"]

storage3/_sync/file_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from ..constants import DEFAULT_FILE_OPTIONS, DEFAULT_SEARCH_OPTIONS
1010
from ..types import BaseBucket, ListBucketFilesOptions, RequestMethod
11-
from ..utils import SyncClient, StorageException
11+
from ..utils import StorageException, SyncClient
1212

1313
__all__ = ["SyncBucket"]
1414

tests/_async/test_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
2-
from time import sleep
32

3+
from time import sleep
44
from typing import TYPE_CHECKING
55
from uuid import uuid4
66

@@ -127,9 +127,9 @@ async def test_client_upload_file(
127127
options = {"content-type": mime_type}
128128

129129
await storage_file_client.upload(bucket_file_path, file_path, options)
130-
130+
131131
sleep(3)
132-
132+
133133
image = await storage_file_client.download(bucket_file_path)
134134
files = await storage_file_client.list(bucket_folder)
135135
image_info = next((f for f in files if f.get("name") == file_name), None)

tests/_sync/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def test_client_upload_file(
126126
options = {"content-type": mime_type}
127127

128128
storage_file_client.upload(bucket_file_path, file_path, options)
129-
129+
130130
image = storage_file_client.download(bucket_file_path)
131131
files = storage_file_client.list(bucket_folder)
132132
image_info = next((f for f in files if f.get("name") == file_name), None)

0 commit comments

Comments
 (0)