nixbot

builds
1this derivation will be built:2 /nix/store/69cgl9jr1p8gryj460fg8jrm6y21xagg-kmap-cli-0.1.0.drv3error: Cannot build '/nix/store/69cgl9jr1p8gryj460fg8jrm6y21xagg-kmap-cli-0.1.0.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/6y6ri38j7mzsnz1iqk96nsijn6cj7gl1-kmap-cli-0.1.07 /nix/store/gv6skaqssd24qvdkaaynfd2rz1dzszzg-kmap-cli-0.1.0-dist8 Last 25 log lines:9 > 714 | if meters < 1000:10 > 715 | return f"{meters:.0f} m"11 > |12 > help: Remove redundant type13 > |14 > 712 |15 > - def format_distance(meters: int | float) -> str:16 > 713 + def format_distance(meters: float) -> str:17 > 714 | if meters < 1000:18 > |19 >20 > RUF007 Prefer `itertools.pairwise()` over `zip()` when iterating over successive pairs21 > --> kmap_cli.py:886:3222 > |23 > 884 | segments: list[dict[str, object]] = []24 > 885 | has_routes = False25 > 886 | for origin, destination in zip(places, places[1:]):26 > | ^^^27 > 887 | routes = client.transit_routes(28 > 888 | Point(origin.x, origin.y),29 > |30 > help: Replace `zip()` with `itertools.pairwise()`31 >32 > Found 6 errors.33 > [*] 3 fixable with the `--fix` option (2 hidden fixes can be enabled with the `--unsafe-fixes` option).34 For full logs, run:35 nix log /nix/store/69cgl9jr1p8gryj460fg8jrm6y21xagg-kmap-cli-0.1.0.drv