Closed davidorme closed 2 months ago
Adding pyrealm
to pre-commit.ci
automatically generated PR #221 that basically repeated much of this PR. With that merged to develop
and then back into this PR, all that is left is adding the badge and deleting the old GH action file.
Description
This PR removes the
pre-commit
autoupdate workflow. The repo is now enabled withpre-commit.ci
, which testspre-commit
status and providesautoupdate
in a more integrated way.There is some redundancy here - our CI GitHub action already runs
pre-commit
as part of theqa
job, sopre-commit.ci
is repeating that on each PR, but the way the autoupdate works is better. See here for the status page:https://results.pre-commit.ci/repo/github/317618141
And we add a badge to README.md 😄
Since this issue was raised by spotting a failed
pre-commit
update action, I've also runpre-commit autoupdate
and thenpre-commit run --all
and included those changes to get us back on track. Theblack
tool has changed its mind about a couple of line wrappings and some blank lines 🤷♂️Fixes #217
Type of change
Key checklist
pre-commit
checks:$ pre-commit run -a
$ poetry run pytest
Further checks