Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
martindurant committed Nov 15, 2024
1 parent b6b7f1e commit c2198ff
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fsspec/caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
import os
import threading
import warnings
from concurrent.futures import Future, ThreadPoolExecutor
from itertools import groupby
from operator import itemgetter
from concurrent.futures import Future, ThreadPoolExecutor
from typing import (
TYPE_CHECKING,
Any,
Expand Down
3 changes: 2 additions & 1 deletion fsspec/implementations/asyn_wrapper.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import asyncio
import inspect
import functools
import inspect

from fsspec.asyn import AsyncFileSystem


Expand Down
2 changes: 1 addition & 1 deletion fsspec/implementations/reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def open_refs(field, record):
try:
df = self.pd.read_parquet(data, engine=self.engine)
refs = {c: df[c].to_numpy() for c in df.columns}
except IOError:
except OSError:
refs = None
return refs

Expand Down
4 changes: 3 additions & 1 deletion fsspec/implementations/tests/test_asyn_wrapper.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import asyncio
import pytest
import os

import pytest

import fsspec
from fsspec.implementations.asyn_wrapper import AsyncFileSystemWrapper
from fsspec.implementations.local import LocalFileSystem

from .test_local import csv_files, filetexts


Expand Down

0 comments on commit c2198ff

Please sign in to comment.