mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-09 20:26:33 +00:00
`ruff`'s B905 wants every `zip()` to say whether it tolerates operands of different length. Here it never sees one: both operands are the `packed` form of an address from the same network, so both are four bytes for IPv4 and sixteen for IPv6. `strict=True` states that, and turns a silently truncated - and therefore too permissive - regex into an error should the invariant ever break. The three other files carry `ruff format` reflows the same run produced. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>