We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5056944 commit 791ee52Copy full SHA for 791ee52
mypy/test/update_data.py
@@ -75,7 +75,7 @@ def _iter_fixes(
75
# using continuation backslashes
76
for i, (severity, msg) in enumerate(reports_on_this_line):
77
out_l = source_line if i == 0 else " " * len(source_line)
78
- is_last = (i == len(reports_on_this_line) - 1)
+ is_last = i == len(reports_on_this_line) - 1
79
severity_char = severity[0].upper()
80
continuation = "" if is_last else " \\"
81
fix_lines.append(f"{out_l}{indent}# {severity_char}: {msg}{continuation}")
0 commit comments