From 0ae8f802850e585a13dd1d74854dd7faaf9248e7 Mon Sep 17 00:00:00 2001 From: Xavier Olive Date: Fri, 28 Jun 2024 16:36:59 +0200 Subject: [PATCH] fix ruff --- src/traffic/core/flight.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/traffic/core/flight.py b/src/traffic/core/flight.py index ea71a588..3d322851 100644 --- a/src/traffic/core/flight.py +++ b/src/traffic/core/flight.py @@ -1732,8 +1732,8 @@ def resample( if isinstance(how, str): if how == "interpolate": - interpolable = data.dtypes[data.dtypes != object].index - other = data.dtypes[data.dtypes == object].index + interpolable = data.dtypes[data.dtypes != object].index # noqa: E721 + other = data.dtypes[data.dtypes == object].index # noqa: E721 how = {how: set(interpolable) - {"timestamp"}} how["ffill"] = set(other) else: