Skip to content

Commit 0bb0886

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 392a37c commit 0bb0886

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mypy/fastparse.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,9 @@ def p() -> AST:
175175
else (
176176
s[:-1]
177177
if is_defective_version
178-
and hasattr(tokenize, "FSTRING_MIDDLE") #technically redundant as all the defective versions have this, but we'd like to appease the typechecker here
178+
and hasattr(
179+
tokenize, "FSTRING_MIDDLE"
180+
) # technically redundant as all the defective versions have this, but we'd like to appease the typechecker here
179181
and t == tokenize.FSTRING_MIDDLE
180182
and s.startswith("\\")
181183
and s.endswith("{")

0 commit comments

Comments
 (0)