Skip to content

Commit a791f96

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

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
@@ -270,7 +270,9 @@ def parse(
270270
errors.report(
271271
e.lineno if e.lineno is not None else -1,
272272
e.offset,
273-
re.sub(r"^(\s*\w)", lambda m: m.group(1).upper(), message), # Standardizing error message
273+
re.sub(
274+
r"^(\s*\w)", lambda m: m.group(1).upper(), message
275+
), # Standardizing error message
274276
blocker=True,
275277
code=codes.SYNTAX,
276278
)

0 commit comments

Comments
 (0)