Hi, I'm trying to configure ruff. How can I make ...
# general
h
Hi, I'm trying to configure ruff. How can I make it write the report to a file? I've succeeded to do it with pylint, but it looks like the tool just prints it to stdout and I didn't find anything in pants that captures it and saves it to file. Could it be that it is not supported ATM?
And I don't think
ruff
supports something like
--output=reports/report.txt
.
b
For pants to support that the tool has to support it and pants has to wire it up. If the tool doesn't support it, then I don't we have the necessary bits to get that working. Otherwise, we might just need to wire it up
h
Can we capture stdout and keep it as the report, instead of the dedicated dir?
b
Maybe? It'd have to be supported in the core code
Might be a good idea though, to help capture all the issues in one place
h
Will ask Ruff's maintainers if they want to support writing to files.
b
Charlie is a great guy. I'll surface this in the ruff discord too