betterer icon indicating copy to clipboard operation
betterer copied to clipboard

CLI output is confusing when only file hashes have changed

Open camjackson opened this issue 2 years ago • 0 comments

As described in this discord message, betterer in CI mode can be confusing when the only mismatch is the file hash, and not the issues in a file.

In this situation, betterer will say:

All checks stayed the same

... followed immediately by:

Unexpected changes detected in these tests...

Ideally it would say something like:

All checks stayed the same, however, the file hash has changed for path/to/file.txt. Please re-run betterer locally to update all file hashes in betterer.results.

I'm going to see if I can fix this and open a PR...

camjackson avatar Feb 16 '24 11:02 camjackson