Update pre-commit hooks and black workflow to latest versions #137
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This updates the pre-commit hooks for black and isort to use the latest releases. Not that crucial but I just wanted to test the pre-commit autoupdate machinery.
I also noticed that the black workflow is running on
push
andpull-request
and this seems to run twice for the initial pull request. So I just changed it to run onpush
.Interface impacts
None
Testing
No code changes. The update occurred as expected and was reflected in the commit for this change.