Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cloudpathlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from .s3.s3client import S3Client
from .s3.s3path import S3Path


if sys.version_info[:2] >= (3, 8):
import importlib.metadata as importlib_metadata
else:
Expand Down
1 change: 0 additions & 1 deletion cloudpathlib/azure/azblobclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
from ..exceptions import MissingCredentialsError
from .azblobpath import AzureBlobPath


try:
from azure.core.exceptions import HttpResponseError, ResourceNotFoundError
from azure.core.credentials import AzureNamedKeyCredential
Expand Down
1 change: 0 additions & 1 deletion cloudpathlib/azure/azblobpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

from ..cloudpath import CloudPath, NoStatError, register_path_class


if TYPE_CHECKING:
from .azblobclient import AzureBlobClient

Expand Down
1 change: 0 additions & 1 deletion cloudpathlib/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from .enums import FileCacheMode
from .exceptions import InvalidConfigurationException


BoundedCloudPath = TypeVar("BoundedCloudPath", bound=CloudPath)


Expand Down
1 change: 0 additions & 1 deletion cloudpathlib/cloudpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ def _make_selector(pattern_parts, _flavour, case_sensitive=True): # noqa: F811
OverwriteNewerLocalError,
)


if TYPE_CHECKING:
from .client import Client

Expand Down
1 change: 0 additions & 1 deletion cloudpathlib/cloudpath_info.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from functools import lru_cache
from typing import TYPE_CHECKING


if TYPE_CHECKING:
from .cloudpath import CloudPath

Expand Down
1 change: 0 additions & 1 deletion cloudpathlib/gs/gspath.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

from ..cloudpath import CloudPath, NoStatError, register_path_class


if TYPE_CHECKING:
from .gsclient import GSClient

Expand Down
1 change: 0 additions & 1 deletion cloudpathlib/http/httppath.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

from ..cloudpath import CloudPath, NoStatError, register_path_class


if TYPE_CHECKING:
from .httpclient import HttpClient, HttpsClient

Expand Down
1 change: 0 additions & 1 deletion cloudpathlib/local/implementations/azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from ..localclient import LocalClient
from ..localpath import LocalPath


local_azure_blob_implementation = CloudImplementation()
"""Replacement for "azure" CloudImplementation meta object in
cloudpathlib.implementation_registry"""
Expand Down
1 change: 0 additions & 1 deletion cloudpathlib/local/implementations/gs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from ..localclient import LocalClient
from ..localpath import LocalPath


local_gs_implementation = CloudImplementation()
"""Replacement for "gs" CloudImplementation meta object in cloudpathlib.implementation_registry"""

Expand Down
1 change: 0 additions & 1 deletion cloudpathlib/local/implementations/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from ..localclient import LocalClient
from ..localpath import LocalPath


local_s3_implementation = CloudImplementation()
"""Replacement for "s3" CloudImplementation meta object in cloudpathlib.implementation_registry"""

Expand Down
1 change: 0 additions & 1 deletion cloudpathlib/local/localpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from ..cloudpath import CloudPath, NoStatError


if TYPE_CHECKING:
from .localclient import LocalClient

Expand Down
1 change: 0 additions & 1 deletion cloudpathlib/s3/s3path.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

from ..cloudpath import CloudPath, NoStatError, register_path_class


if TYPE_CHECKING:
from .s3client import S3Client

Expand Down
1 change: 0 additions & 1 deletion docs/docs/patching_builtins.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,6 @@
"from cloudpathlib import CloudPath, patch_all_builtins\n",
"from PIL import Image\n",
"\n",
"\n",
"base = CloudPath(\"s3://cloudpathlib-test-bucket/patching_builtins/third_party/\")\n",
"\n",
"img_path = base / \"pillow_demo.png\"\n",
Expand Down
1 change: 0 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
from .mock_clients.mock_s3 import mocked_session_class_factory, DEFAULT_S3_BUCKET_NAME
from .utils import _sync_filesystem


if os.getenv("USE_LIVE_CLOUD") == "1":
load_dotenv(find_dotenv())

Expand Down
1 change: 0 additions & 1 deletion tests/performance/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

from perf_file_listing import folder_list, glob, walk


# make loguru and tqdm play nicely together
logger.remove()
logger.add(lambda msg: tqdm.write(msg, end=""), colorize=True)
Expand Down