-
Notifications
You must be signed in to change notification settings - Fork 2
Conceal output of tools that succeeded #149
Comments
When using For |
I think black exits with a non-zero code if it has to do any sort of fixes, so lintlizard would see that as a "failed" execution in any case |
I don't believe that's true. |
Yep, you're right. I assumed it returned 1 because I know pre-commit.com doesn't follow through with the commit if black does any changes, but it must have some other way of deciding to stop - probably checking for the presence of unstaged changes. |
Both |
Extracting information from the command output seems brittle |
I agree, but we could mitigate that by adding tests. |
We probably don't need to see the output of tools unless they fail. Hiding successful output would make pinpointing issues much easier.
The only scenarios I can think of where we might want to see the output even if the tool succeeds are:
black
andisort
when using--fix
: were any files changed?mypy
withreveal_type
: what's the revealed type?Not sure if we should worry about these though.
The text was updated successfully, but these errors were encountered: