Open sstendahl opened 1 year ago
Hey @Sjoerd1993, big thanks for reporting that bug! The error format in our action is defined in the reviewdog/errorformat repository, specifically at this location. It looks something like this:
%f:%l:%c: %t%n %m
For more details, you can check out the errorformat README, which explains that reviewdog uses Vim's quick-fix errorformat.
I haven't had the chance to dive into the issue yet, but my hunch is that because flake8-docstring-checker uses the DC
docstring, the error type might not be picked up correctly. You can experiment with the errorformat playground to figure out the syntax needed to make reviewdog catch the errors from flake8-docstring-checker. Once you've got it right, you can open a pull request here to update the flake8 error format. Given that not everyone is using the flake8-docstring-checker plugin, it might be better to use the reviewdog_flags input argument to tweak the error format syntax. Feel free to let me know if you need any help 😃.
Hey,
It seems like reviewdog does not report errors from
flake8-docstring-checker
. The plug in installs correctly, and is reported in the output:But the actual errors (missing docstrings) are ignored. Locally (just running Flake8 myself), this works fine and I get the following error:
Maybe it has something to do with the error format not being recognized? Not completely sure how to solve this here. For completeness sake, this is how I've got the linter set up right now: