Skip to content

Commit 28e335a

Browse files
committed
Fix ruff format
1 parent 48ff95e commit 28e335a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tests/core/steps/test_clean.py

+12-12
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ def test_remove_outliers_clip(data: DataContainer) -> None:
4343

4444
# Check that the outlier values are dropped from the DataFrame
4545
for outlier in outlier_rows:
46-
assert (
47-
outlier not in result.train[column].to_numpy()
48-
), f"Outlier value {outlier} was not dropped from the DataFrame"
46+
assert outlier not in result.train[column].to_numpy(), (
47+
f"Outlier value {outlier} was not dropped from the DataFrame"
48+
)
4949

5050
# Check that the normal values are still present in the DataFrame
5151
for normal_value in normal_rows:
52-
assert (
53-
normal_value in result.train[column].to_numpy()
54-
), f"Normal value {normal_value} was incorrectly dropped from the DataFrame"
52+
assert normal_value in result.train[column].to_numpy(), (
53+
f"Normal value {normal_value} was incorrectly dropped from the DataFrame"
54+
)
5555

5656

5757
def test_remove_outliers_drop(data: DataContainer) -> None:
@@ -64,15 +64,15 @@ def test_remove_outliers_drop(data: DataContainer) -> None:
6464

6565
# Check that the outlier values are dropped from the DataFrame
6666
for outlier in outlier_rows:
67-
assert (
68-
outlier not in result.train[column].to_numpy()
69-
), f"Outlier value {outlier} was not dropped from the DataFrame"
67+
assert outlier not in result.train[column].to_numpy(), (
68+
f"Outlier value {outlier} was not dropped from the DataFrame"
69+
)
7070

7171
# Check that the normal values are still present in the DataFrame
7272
for normal_value in normal_rows:
73-
assert (
74-
normal_value in result.train[column].to_numpy()
75-
), f"Normal value {normal_value} was incorrectly dropped from the DataFrame"
73+
assert normal_value in result.train[column].to_numpy(), (
74+
f"Normal value {normal_value} was incorrectly dropped from the DataFrame"
75+
)
7676

7777

7878
def test_convert_dtypes(data: DataContainer) -> None:

0 commit comments

Comments
 (0)