pre-commit autoupdate and related changes #163
Merged
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.
This PR includes the results of a
pre-commit autoupdate
propagated to the affected files.In more detail:
**
operator in some cases Hug power operators if its operands are "simple" psf/black#2726nbqa-black
andblack-jupyter
after the autoupdate.black-jupyter
respects the pinned Black version number inasl-ml-immersion/.pre-commit-config.yaml
Line 41 in 17f5506
nbqa-black
uses theblack
installed in the local environment, and in case of thepre-commit.ci
environment this was the latest22.1.0
, as opposed to the pinned21.12b0
.additional_dependencies : ['black:21.12b0']
(see also the same advice in the nbQA doc), but probably this would add an unnecessary layer of manual maintenance burden (e.g. having to manually bump this version and sync withblack
's), hence this PR onlyautoupdate
's and accepts the repercussions.Finally, all this means that on your local environment you need to
pip install --upgrade black
, especially if you experience similar issues.