From d547253d4dcb179175b4f441e2a6ad9d9b0e62ba Mon Sep 17 00:00:00 2001 From: Wilson Beebe Date: Thu, 18 Apr 2024 15:53:06 -0700 Subject: [PATCH] Fix precommit failures --- src/nested_pandas/nestedframe/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nested_pandas/nestedframe/core.py b/src/nested_pandas/nestedframe/core.py index 3c457de..2520fec 100644 --- a/src/nested_pandas/nestedframe/core.py +++ b/src/nested_pandas/nestedframe/core.py @@ -371,9 +371,9 @@ def my_sum(col1, col2): raise ValueError("No columns in `*args` specified to apply function to") # The remaining args are the extra arguments to the function other than columns - extra_args = [] + extra_args: list[Any] = [] if len(requested_columns) < len(args): - extra_args = args[len(requested_columns):] + extra_args = args[len(requested_columns) :] # Translates the requested columns into the scalars or arrays we pass to func. def translate_cols(frame, layer, col):