Skip to content

Commit 10f0dd1

Browse files
Apply ruff rule RUF100
RUF100 Unused `noqa` directive
1 parent b5d638c commit 10f0dd1

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

dask/dataframe/dask_expr/io/tests/test_distributed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
distributed = pytest.importorskip("distributed")
88

9-
from distributed.utils_test import * # noqa: F401, F403
9+
from distributed.utils_test import * # noqa: F403
1010
from distributed.utils_test import gen_cluster
1111

1212
import dask.dataframe as dd

dask/dataframe/dask_expr/tests/test_diagnostics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
pytest.importorskip("distributed")
88

9-
from distributed.utils_test import * # noqa: F401, F403
9+
from distributed.utils_test import * # noqa: F403
1010

1111
from dask.dataframe.dask_expr import from_pandas
1212
from dask.dataframe.dask_expr.tests._util import _backend_library

dask/dataframe/io/tests/test_sql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ def test_to_sql(npartitions, parallel):
526526
ddf.set_index("name").to_sql("test", uri)
527527
with pytest.raises(
528528
TypeError,
529-
match=f'Provided index column is of type "{string_dtype}". If divisions is not provided the index column type must be numeric or datetime.', # noqa: E501
529+
match=f'Provided index column is of type "{string_dtype}". If divisions is not provided the index column type must be numeric or datetime.',
530530
):
531531
read_sql_table("test", uri, "name")
532532

dask/dataframe/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import dask
1818
from dask.base import is_dask_collection
1919
from dask.core import get_deps
20-
from dask.dataframe._compat import PANDAS_GE_300, tm # noqa: F401
20+
from dask.dataframe._compat import PANDAS_GE_300, tm
2121
from dask.dataframe.dispatch import ( # noqa: F401
2222
is_categorical_dtype_dispatch,
2323
make_meta,

dask/tests/test_distributed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
from distributed import Client, SchedulerPlugin, futures_of, wait
1515
from distributed.utils_test import ( # noqa: F401
16-
cleanup, # noqa: F401
16+
cleanup,
1717
cluster,
1818
cluster_fixture,
1919
gen_cluster,

0 commit comments

Comments
 (0)