8000 Apply ruff rule RUF100 · scikit-learn/scikit-learn@ae0d00a · GitHub
[go: up one dir, main page]

Skip to content

Commit ae0d00a

Browse files
Apply ruff rule RUF100
RUF100 Unused blanket `noqa` directive
1 parent 2abf91c commit ae0d00a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sklearn/inspection/_plot/decision_boundary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def from_estimator(
425425
"""
426426
check_matplotlib_support(f"{cls.__name__}.from_estimator")
427427
check_is_fitted(estimator)
428-
import matplotlib as mpl # noqa
428+
import matplotlib as mpl
429429

430430
if not grid_resolution > 1:
431431
raise ValueError(

sklearn/utils/_array_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def yield_namespace_device_dtype_combinations(include_numpy_namespaces=True):
8585

8686
elif array_namespace == "array_api_strict":
8787
try:
88-
import array_api_strict # noqa
88+
import array_api_strict
8989

9090
yield array_namespace, array_api_strict.Device("CPU_DEVICE"), "float64"
9191
yield array_namespace, array_api_strict.Device("device1"), "float32"

0 commit comments

Comments
 (0)
0