keewis / blackdoc

run black on documentation code snippets
https://blackdoc.readthedocs.io
MIT License
47 stars 4 forks source link

switch to pre-commit.ci #114

Closed keewis closed 2 years ago

keewis commented 2 years ago

The old custom workflow to auto-update pre-commit was pretty buggy: if you forgot to delete the branch after merging a PR it would create a new PR without any changes, and the output of pre-commit after updating the hooks contained a failure it would be pretty hard to see. pre-commit.ci solves all that, plus we don't have to maintain it ourselves...