Skip to content

Commit e54c772

Browse files
committed
PEP8
1 parent 58acdf2 commit e54c772

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Diff for: imblearn/utils/_docstring.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ def __call__(self, obj):
4747
Whether or not `X` and `y` should be validated. This parameter applies
4848
only when `X` and `y` are Dask collections where validation might be
4949
potentially costly.
50-
""".rstrip()
50+
""".rstrip()

Diff for: imblearn/utils/_validation.py

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
from .wrapper import _is_multiclass_encoded
2121
from .wrapper import column_or_1d
2222
from .wrapper import type_of_target
23-
from .wrapper import unique
2423

2524
SAMPLING_KIND = (
2625
"over-sampling",

Diff for: imblearn/utils/estimator_checks.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def check_samplers_pandas(name, sampler):
296296

297297

298298
def check_samplers_dask_array(name, sampler):
299-
dask = pytest.importorskip("dask")
299+
pytest.importorskip("dask")
300300
from dask import array
301301
# Check that the samplers handle dask array
302302
X, y = make_classification(
@@ -321,7 +321,7 @@ def check_samplers_dask_array(name, sampler):
321321

322322

323323
def check_samplers_dask_dataframe(name, sampler):
324-
dask = pytest.importorskip("dask")
324+
pytest.importorskip("dask")
325325
from dask import dataframe
326326
# Check that the samplers handle dask dataframe and dask series
327327
X, y = make_classification(

0 commit comments

Comments
 (0)