Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaFaer committed Jan 29, 2024
1 parent bd6d363 commit 6f46cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlt/common/storages/fsspec_filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def read_bytes(self) -> bytes:
)


def guess_mime_type(file_name: str) -> Tuple[str]:
def guess_mime_type(file_name: str) -> Sequence[Optional[str], Optional[str]]:
return mimetypes.guess_type(posixpath.basename(file_name), strict=False) or (
"application/" + (posixpath.splitext(file_name)[1][1:] or "octet-stream"),
None,
Expand Down

0 comments on commit 6f46cb4

Please sign in to comment.