use strict zip

This commit is contained in:
Jan Petykiewicz 2024-07-28 20:06:09 -07:00
commit 38e9d5c250
6 changed files with 13 additions and 13 deletions

View file

@ -202,7 +202,7 @@ def ell(
if extension < 0:
ext_floor = -numpy.floor(extension)
raise BuildError(f'Position is too close by at least {ext_floor}. Total extensions would be\n\t'
+ '\n\t'.join(f'{key}: {off}' for key, off in zip(ports.keys(), offsets)))
+ '\n\t'.join(f'{key}: {off}' for key, off in zip(ports.keys(), offsets, strict=True)))
result = dict(zip(ports.keys(), offsets))
result = dict(zip(ports.keys(), offsets, strict=True))
return result