reviewdog / action-flake8

Runs flake8 with Reviewdog :dog:
https://github.com/reviewdog/reviewdog
MIT License
17 stars 7 forks source link

Make the pre-defined 'errorformat' an input variable #49

Closed salzmannsusan closed 5 months ago

salzmannsusan commented 1 year ago

When creating new, custom linter rules with flake8 and ast, the plugin code has to match this regex: ^[A-Z]{1,3}[0-9]{0,3}$.

However, the pre-defined 'errorformat' flake8 does not parse all these plugin codes as expected. But the pre-defined pep8 does.

To be able to see warnings for custom linter rules, it would be necessary to make the error format an (optional) input parameter. (https://github.com/reviewdog/action-flake8/issues/48)

This was done here.

haya14busa commented 5 months ago

Sorry for the late response. Thanks!

github-actions[bot] commented 5 months ago

🚀 [bumpr] Bumped! New version:v3.10.0 Changes:v3.9.0...v3.10.0

review-dog commented 5 months ago

Hi, @salzmannsusan! We merged your PR to reviewdog! 🐶 Thank you for your contribution! ✨

We just invited you to join the @reviewdog organization on GitHub. Accept the invite by visiting https://github.com/orgs/reviewdog/invitation. By joining the team, you'll be a part of reviewdog community and can help the maintenance of reviewdog.

Thanks again!