Skip to content

Commit df800b8

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

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

mypy/test/data.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,8 @@ def expand_errors(input: list[str], output: list[str], fnam: str) -> None:
547547
# The first in the split things isn't a comment
548548
for possible_err_comment in re.split(r"(?!\\)#\s*(?=[ENW]\s*:)", input[i])[1:]:
549549
m = re.search(
550-
r"^([ENW])\s*:((?P<col>\d+):)?(?P<message>(?:\\#|[^#])*)$", possible_err_comment.strip()
550+
r"^([ENW])\s*:((?P<col>\d+):)?(?P<message>(?:\\#|[^#])*)$",
551+
possible_err_comment.strip(),
551552
)
552553
if m:
553554
if m.group(1) == "E":

0 commit comments

Comments
 (0)