diff --git a/sklego/this.py b/sklego/this.py index ebd7c258..3b57ce42 100644 --- a/sklego/this.py +++ b/sklego/this.py @@ -36,4 +36,4 @@ you're doing it wrong. """ -print(poem) +print(poem) # noqa: T201 diff --git a/tests/test_model_selection/test_timegapsplit.py b/tests/test_model_selection/test_timegapsplit.py index 47c5cb45..9be0a104 100644 --- a/tests/test_model_selection/test_timegapsplit.py +++ b/tests/test_model_selection/test_timegapsplit.py @@ -92,7 +92,7 @@ def test_timegapsplit_too_big_gap(): gap_duration=timedelta(days=5), ) except ValueError: - print("Successfully failed") + print("Successfully failed") # noqa: T201 def test_timegapsplit_using_splits(): diff --git a/tests/test_preprocessing/test_interval_encoder.py b/tests/test_preprocessing/test_interval_encoder.py index bc5f2a2f..398ae015 100644 --- a/tests/test_preprocessing/test_interval_encoder.py +++ b/tests/test_preprocessing/test_interval_encoder.py @@ -51,7 +51,6 @@ def test_monotonicity_decreasing(data_init): X, y = generate_dataset(start=data_init) encoder = IntervalEncoder(n_chunks=40, method="decreasing") y_transformed = encoder.fit_transform(X, y).reshape(-1).round(4) - print(y_transformed.reshape(-1)) for i in range(len(y_transformed) - 1): assert y_transformed[i] >= y_transformed[i + 1] diff --git a/tests/test_preprocessing/test_monospline.py b/tests/test_preprocessing/test_monospline.py index fe567b3a..01a996cc 100644 --- a/tests/test_preprocessing/test_monospline.py +++ b/tests/test_preprocessing/test_monospline.py @@ -22,7 +22,6 @@ def test_monotonic_spline_transformer(n_knots, degree, knots): transformer_sk.fit(X) out = transformer.transform(X) out_sk = transformer_sk.transform(X) - print(out.shape, out_sk.shape) # Both should have the same shape assert out.shape == out_sk.shape