this derivation will be built: /nix/store/qy6s1mgfq4ii5kggcag5ibwv7iqdk36p-kmap-cli-0.1.0.drv error: Cannot build '/nix/store/qy6s1mgfq4ii5kggcag5ibwv7iqdk36p-kmap-cli-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/ajhfb67zfzd49q5qiawp75rxijnqjz96-kmap-cli-0.1.0-dist /nix/store/h9lfn159gd9alrqzbg06bfl4df912am9-kmap-cli-0.1.0 Last 25 log lines: > 712 | if meters < 1000: > 713 | return f"{meters:.0f} m" > | > help: Remove redundant type > | > 710 | > - def format_distance(meters: int | float) -> str: > 711 + def format_distance(meters: float) -> str: > 712 | if meters < 1000: > | > > RUF007 Prefer `itertools.pairwise()` over `zip()` when iterating over successive pairs > --> kmap_cli.py:884:32 > | > 882 | segments: list[dict[str, object]] = [] > 883 | has_routes = False > 884 | for origin, destination in zip(places, places[1:]): > | ^^^ > 885 | routes = client.transit_routes( > 886 | 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/qy6s1mgfq4ii5kggcag5ibwv7iqdk36p-kmap-cli-0.1.0.drv