[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
5eb06e4bfe
commit
178bcf70d1
1 changed files with 1 additions and 3 deletions
|
|
@ -1590,9 +1590,7 @@ def _check_signal_escape_patterns(code: str):
|
|||
):
|
||||
idx = key_node.value
|
||||
if -len(container.elts) <= idx < len(container.elts):
|
||||
v = _extract_string_from_node(
|
||||
container.elts[idx], _depth + 1
|
||||
)
|
||||
v = _extract_string_from_node(container.elts[idx], _depth + 1)
|
||||
if v is not None:
|
||||
return v
|
||||
for elt in container.elts:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue