Skip to content

Commit 718c8e4

Browse files
committed
Show error codes in run_mypy.py
1 parent 794b5b8 commit 718c8e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/run_mypy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def check_no_unexpected_results(mypy_lines: Iterator[str]):
168168
for section, sdf in df.reset_index().groupby(args.groupby):
169169
print(f"\n\n[{section}]")
170170
for row in sdf.itertuples():
171-
print(f"{row.file}:{row.line}: {row.type}: {row.message}")
171+
print(f"{row.file}:{row.line}: {row.type} [{row.errorcode}]: {row.message}")
172172
print()
173173
else:
174174
print(

0 commit comments

Comments
 (0)