[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] 2024-06-20 11:54:17 +00:00
parent 7efd12b701
commit f86aa30530
2 changed files with 3 additions and 4 deletions

View File

@ -18,7 +18,6 @@ import sys
import tokenize import tokenize
import types import types
from typing import Callable from typing import Callable
from typing import DefaultDict
from typing import Dict from typing import Dict
from typing import IO from typing import IO
from typing import Iterable from typing import Iterable

View File

@ -1126,9 +1126,9 @@ def resolve_values_indices_in_parametersets(
argname_value_indices_for_hashable_ones[argname][value] argname_value_indices_for_hashable_ones[argname][value]
) )
except KeyError: # New unique value except KeyError: # New unique value
argname_value_indices_for_hashable_ones[argname][ argname_value_indices_for_hashable_ones[argname][value] = (
value argvalues_count[argname]
] = argvalues_count[argname] )
argname_indices.append(argvalues_count[argname]) argname_indices.append(argvalues_count[argname])
argvalues_count[argname] += 1 argvalues_count[argname] += 1
except TypeError: # `value` is not hashable except TypeError: # `value` is not hashable