[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-10-08 17:00:53 +00:00
parent 971a037d7f
commit 31efcdd32e
1 changed files with 3 additions and 1 deletions

View File

@ -1011,7 +1011,9 @@ class IdMaker:
new_id = f"{id}{suffix}{id_suffixes[id]}"
resolved_ids[index] = new_id
id_suffixes[id] += 1
assert len(resolved_ids) == len(set(resolved_ids)), f"Internal error: {resolved_ids=}"
assert len(resolved_ids) == len(
set(resolved_ids)
), f"Internal error: {resolved_ids=}"
return resolved_ids
def _resolve_ids(self) -> Iterable[str]: