Skip to content

Commit 86271ed

Browse files
committed
Fix lint errors
1 parent f6f3424 commit 86271ed

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

fsspec/dircache.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from __future__ import annotations
2-
import time
3-
from typing import MutableMapping, List, TypedDict, Iterator, Any
42

3+
import time
54
from functools import lru_cache
5+
from typing import Any, Iterator, List, MutableMapping, TypedDict
66

77

88
class DirEntry(TypedDict):

fsspec/mapping.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
from __future__ import annotations
2+
3+
import array
4+
import posixpath
5+
import warnings
6+
from functools import cached_property
27
from typing import (
38
TYPE_CHECKING,
4-
MutableMapping,
5-
Literal,
69
Iterable,
710
Iterator,
8-
overload,
11+
Literal,
12+
MutableMapping,
913
TypeVar,
14+
overload,
1015
)
1116

12-
import array
13-
import posixpath
14-
import warnings
15-
from functools import cached_property
16-
1717
from .core import url_to_fs
1818

1919
if TYPE_CHECKING:
@@ -114,7 +114,7 @@ def getitems(
114114
self,
115115
keys: Iterable[str],
116116
on_error: Literal["raise", "omit", "return"] = "raise",
117-
) -> dict[str, bytes | Exception] | dict[str, bytes]:
117+
) -> dict[str, bytes | Exception] | dict[str, bytes]:
118118
"""Fetch multiple items from the store
119119
120120
If the backend is async-able, this might proceed concurrently

0 commit comments

Comments
 (0)