Skip to content

Commit

Permalink
PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed Nov 8, 2020
1 parent 58acdf2 commit e54c772
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion imblearn/utils/_docstring.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ def __call__(self, obj):
Whether or not `X` and `y` should be validated. This parameter applies
only when `X` and `y` are Dask collections where validation might be
potentially costly.
""".rstrip()
""".rstrip()
1 change: 0 additions & 1 deletion imblearn/utils/_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
from .wrapper import _is_multiclass_encoded
from .wrapper import column_or_1d
from .wrapper import type_of_target
from .wrapper import unique

SAMPLING_KIND = (
"over-sampling",
Expand Down
4 changes: 2 additions & 2 deletions imblearn/utils/estimator_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def check_samplers_pandas(name, sampler):


def check_samplers_dask_array(name, sampler):
dask = pytest.importorskip("dask")
pytest.importorskip("dask")
from dask import array
# Check that the samplers handle dask array
X, y = make_classification(
Expand All @@ -321,7 +321,7 @@ def check_samplers_dask_array(name, sampler):


def check_samplers_dask_dataframe(name, sampler):
dask = pytest.importorskip("dask")
pytest.importorskip("dask")
from dask import dataframe
# Check that the samplers handle dask dataframe and dask series
X, y = make_classification(
Expand Down

0 comments on commit e54c772

Please sign in to comment.