Skip to content

Commit

Permalink
fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
xoolive committed Jun 28, 2024
1 parent e62c427 commit 0ae8f80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/traffic/core/flight.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0ae8f80

Please sign in to comment.