Skip to content

Commit 4ea972b

Browse files
committed
Minor style.
1 parent a20bfa3 commit 4ea972b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonschema_lexer/_lexer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def _parse_token_tuple(
153153
keywords: list[str],
154154
):
155155
start, token, value = token_tuple
156-
keywords = ['"%s"' % keyword for keyword in (keywords)]
156+
keywords = [f'"{keyword}"' for keyword in keywords]
157157
if token is Token.Name.Tag and value in keywords:
158158
return start, Token.Keyword, value
159159
elif token is Token.String.Double and value in self.data_types:

0 commit comments

Comments
 (0)