Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
xoolive committed Dec 19, 2023
1 parent 796dc75 commit b0838ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/traffic/core/iterator.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def plot(self, *args: Any, **kwargs: Any) -> None:


def flight_iterator(
fun: Callable[..., Iterator["Flight"]]
fun: Callable[..., Iterator["Flight"]],
) -> Callable[..., FlightIterator]:
msg = (
"The @flight_iterator decorator can only be set on methods "
Expand Down
2 changes: 1 addition & 1 deletion src/traffic/core/lazy.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def lazy_evaluation(
"""

def wrapper(
f: Callable[..., "Traffic"]
f: Callable[..., "Traffic"],
) -> Callable[..., Union["Traffic", LazyTraffic]]:
# Check parameters passed (esp. filter_if) are not lambda because those
# are not serializable therefore **silently** fail when multiprocessed.
Expand Down

0 comments on commit b0838ba

Please sign in to comment.