Closed li-boxuan closed 6 years ago
GitMate.io thinks possibly related issues are https://github.com/coala/coala-bears/issues/942 (GitCommitBear: Make the regex match message more verbose), https://github.com/coala/coala-bears/issues/2031 (GitCommitBear: Exception on empty commit message body), https://github.com/coala/coala-bears/issues/365 (GitCommitBear: Check for "wip" at staart of commit message), https://github.com/coala/coala-bears/issues/1134 (GitCommitBear: Require the commit message contains a valid issue reference), and https://github.com/coala/coala-bears/issues/1394 (PycodestyleBear and LineLengthBear print redundant messages).
As stated in the previous issue, I'd like to work on this
These should be converted to logging
.
@rohanrk Are you working on this ? I would like to work on this otherwise :sweat_smile:
When I run GitCommitBear, it writes the following log messages to stdout:
Even if I run with option --json, it still writes those logs to stdout. This is annoying because it breaks json syntax (output cannot be directly loaded as json).
The way to reproduce this bug is to run coala --json > output.txt in the root directory of coala repository.
I'm not sure if this is a common bug or it just doesn't work on my machine.