Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 6, 2024
1 parent 5a81f04 commit 848484a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/litdata/streaming/resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ def _resolve_dir(dir_path: Optional[Union[str, Dir]]) -> Dir:
cloud_prefixes = _SUPPORTED_CLOUD_PROVIDERS
dir_scheme = parse.urlparse(dir_path).scheme
if bool(dir_scheme):
print("="*80)
print("=" * 80)
print(f"{dir_scheme=}")
print("="*80)
print("=" * 80)
if any(dir_path.startswith(cloud_prefix) for cloud_prefix in cloud_prefixes):
return Dir(path=None, url=dir_path)
raise ValueError(
Expand Down

0 comments on commit 848484a

Please sign in to comment.