pyrefly icon indicating copy to clipboard operation
pyrefly copied to clipboard

Print errors in more standard format so editors and other tools can better automatically parse them

Open lolpack opened this issue 7 months ago • 0 comments

Describe the Bug

pyrefly errors CLI does not fit the fairly universal "error in file" format that mypy or gcc or most Linux toolchains use, which is a line like /home/rec/git-typing/pytorch/torch/_inductor/lowering.py:366:36-51, without any prefix like ERROR .

That specifically excludes emacs and quite possibly other vi-family editors. (The net result is that in emacs, I can't click on your errors to go to the file and line.)

cc @rec

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

lolpack avatar May 27 '25 12:05 lolpack