reformat after update

This commit is contained in:
Jörg Thalheim
2025-01-14 15:30:29 +01:00
parent 9d29cc63ad
commit e2aa66d86f
17 changed files with 37 additions and 35 deletions

View File

@@ -14,9 +14,9 @@ class ClanError(Exception):
def compute_zerotier_ip(network_id: str, identity: str) -> ipaddress.IPv6Address:
assert (
len(network_id) == 16
), "network_id must be 16 characters long, got {network_id}"
assert len(network_id) == 16, (
"network_id must be 16 characters long, got {network_id}"
)
nwid = int(network_id, 16)
node_id = int(identity, 16)
addr_parts = bytearray(