Closed jpfeuffer closed 1 year ago
And: Make linting actually fail, when it finds something to fix. It currently does not fail.
Flake was fixed, but that doesn't solve rst linting.
I have looked into flakeheaven and it looks like there are two options:
Any thoughts on this?
I spent a bit of time looking at the existing action. I think it's probably a better use of time to make a new action ourselves.
On Tue, Jan 24, 2023 at 9:06 AM Matteo Pilz @.***> wrote:
I have looked into flakeheaven and it looks like there are two options:
- Include this one https://github.com/sailingpalmtree/reviewdog-flakehell-action. I have tried shortly and it produces an error. Also, it doesn't seem to have a lot of activity going on in the repo.
- Make a GitHub action ourselves with https://github.com/flakeheaven/flakeheaven. This seems like a bigger effort, but the output provided is compatible with GitLab CI, so maybe it's possible to adapt it to GitHub more easily.
Any thoughts on this?
— Reply to this email directly, view it on GitHub https://github.com/OpenMS/pyopenms-docs/issues/311#issuecomment-1401522368, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABD3C7PA34JQE5O7XJGQMDWT6EP7ANCNFSM6AAAAAARN5UWAI . You are receiving this because you were assigned.Message ID: @.***>
Yes. It should be straightforward. We do not need an "action" per see but our own script, yes. It should be just a few lines though.
flakeheaven can be used directly with md,rst,ipynb. Currently we are only testing pure py files. Probably quickest to lint the rst right away but more accurate with the ipynbs. I don't care which one we do.