Skip to content

Commit 104e2fd

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b1125c5 commit 104e2fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jsonschema_lexer/_lexer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ def _find_key_value_from_json(
8383
index: int,
8484
):
8585
return next(
86-
(t[2] for t in tokens[index:]
87-
if t[1] is Token.String.Double), None,
86+
(t[2] for t in tokens[index:] if t[1] is Token.String.Double),
87+
None,
8888
)
8989

9090
def _get_nearest_valid_dialect(

0 commit comments

Comments
 (0)