this derivation will be built: /nix/store/69cgl9jr1p8gryj460fg8jrm6y21xagg-kmap-cli-0.1.0.drv error: Cannot build '/nix/store/69cgl9jr1p8gryj460fg8jrm6y21xagg-kmap-cli-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/6y6ri38j7mzsnz1iqk96nsijn6cj7gl1-kmap-cli-0.1.0 /nix/store/gv6skaqssd24qvdkaaynfd2rz1dzszzg-kmap-cli-0.1.0-dist Last 25 log lines: > 714 | if meters < 1000: > 715 | return f"{meters:.0f} m" > | > help: Remove redundant type > | > 712 | > - def format_distance(meters: int | float) -> str: > 713 + def format_distance(meters: float) -> str: > 714 | if meters < 1000: > | > > RUF007 Prefer `itertools.pairwise()` over `zip()` when iterating over successive pairs > --> kmap_cli.py:886:32 > | > 884 | segments: list[dict[str, object]] = [] > 885 | has_routes = False > 886 | for origin, destination in zip(places, places[1:]): > | ^^^ > 887 | routes = client.transit_routes( > 888 | Point(origin.x, origin.y), > | > help: Replace `zip()` with `itertools.pairwise()` > > Found 6 errors. > [*] 3 fixable with the `--fix` option (2 hidden fixes can be enabled with the `--unsafe-fixes` option). For full logs, run: nix log /nix/store/69cgl9jr1p8gryj460fg8jrm6y21xagg-kmap-cli-0.1.0.drv