Skip to content

Commit 0707dbd

Browse files
committed
style(ruff): shrinkage
1 parent 84473e3 commit 0707dbd

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

narwhals/_plan/dummy.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,7 @@ def cum_prod(self, *, reverse: bool = False) -> Self:
221221
return self._from_ir(F.CumProd(reverse=reverse).to_function_expr(self._ir))
222222

223223
def rolling_sum(
224-
self,
225-
window_size: int,
226-
*,
227-
min_samples: int | None = None,
228-
center: bool = False,
224+
self, window_size: int, *, min_samples: int | None = None, center: bool = False
229225
) -> Self:
230226
min_samples = window_size if min_samples is None else min_samples
231227
fn_params = None
@@ -239,11 +235,7 @@ def rolling_sum(
239235
return self._from_ir(function.to_function_expr(self._ir))
240236

241237
def rolling_mean(
242-
self,
243-
window_size: int,
244-
*,
245-
min_samples: int | None = None,
246-
center: bool = False,
238+
self, window_size: int, *, min_samples: int | None = None, center: bool = False
247239
) -> Self:
248240
min_samples = window_size if min_samples is None else min_samples
249241
fn_params = None

0 commit comments

Comments
 (0)