Skip to content

Commit 33504bb

Browse files
I hate black param wrapping on things that should be a single line
1 parent 796adda commit 33504bb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mypy/test/data.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -545,10 +545,9 @@ def expand_errors(input: list[str], output: list[str], fnam: str) -> None:
545545
elif m.group(1) == "W":
546546
severity = "warning"
547547
col = m.group("col")
548-
message = m.group(
549-
"message"
550-
) # Message may, and probably does, include leading spaces
548+
message = m.group("message")
551549
message = message.replace(r"\#", "#") # adds back escaped # character
550+
# Message may, and probably does, include leading spaces
552551
if col is None:
553552
output.append(f"{fnam}:{i + 1}: {severity}:{message}")
554553
else:

0 commit comments

Comments
 (0)