Re:Pyrefly
by johnisgood on Tuesday April 29, 2025 @11:41AM
(#43834159)
Is it not that he used the "--suppress-errors" flag yet it did not ignore the errors?
[ Parent
| on HN ]
It's hard to tell. Other similar options in other commands can mean things like "exit with status 0 even if errors are detected". Without installing pyrefly, I'm not sure what that flag's supposed to do. It's not documented on their site.
Re:Pyrefly
by koakuma-chan on Tuesday April 29, 2025 @12:30PM
(#43834811)
It adds a comment to suppress the error above each line in your codebase that causes an error, but it reports the errors before doing that, so you can only see the result after you re-run `pyrefly check`.