Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhdu committed Oct 20, 2023
1 parent f6f3424 commit 86271ed
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions fsspec/dircache.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from __future__ import annotations
import time
from typing import MutableMapping, List, TypedDict, Iterator, Any

import time
from functools import lru_cache
from typing import Any, Iterator, List, MutableMapping, TypedDict


class DirEntry(TypedDict):
Expand Down
18 changes: 9 additions & 9 deletions fsspec/mapping.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
from __future__ import annotations

import array
import posixpath
import warnings
from functools import cached_property
from typing import (
TYPE_CHECKING,
MutableMapping,
Literal,
Iterable,
Iterator,
overload,
Literal,
MutableMapping,
TypeVar,
overload,
)

import array
import posixpath
import warnings
from functools import cached_property

from .core import url_to_fs

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

0 comments on commit 86271ed

Please sign in to comment.