Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.
Release Notes
psf/black
### [`v22.6.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2260)
[Compare Source](https://togithub.com/psf/black/compare/22.3.0...22.6.0)
##### Style
- Fix unstable formatting involving `#fmt: skip` and `# fmt:skip` comments (notice the
lack of spaces) ([#2970](https://togithub.com/psf/black/issues/2970))
##### Preview style
- Docstring quotes are no longer moved if it would violate the line length limit ([#3044](https://togithub.com/psf/black/issues/3044))
- Parentheses around return annotations are now managed ([#2990](https://togithub.com/psf/black/issues/2990))
- Remove unnecessary parentheses around awaited objects ([#2991](https://togithub.com/psf/black/issues/2991))
- Remove unnecessary parentheses in `with` statements ([#2926](https://togithub.com/psf/black/issues/2926))
- Remove trailing newlines after code block open ([#3035](https://togithub.com/psf/black/issues/3035))
##### Integrations
- Add `scripts/migrate-black.py` script to ease introduction of Black to a Git project
([#3038](https://togithub.com/psf/black/issues/3038))
##### Output
- Output Python version and implementation as part of `--version` flag ([#2997](https://togithub.com/psf/black/issues/2997))
##### Packaging
- Use `tomli` instead of `tomllib` on Python 3.11 builds where `tomllib` is not
available ([#2987](https://togithub.com/psf/black/issues/2987))
##### Parser
- [PEP 654](https://peps.python.org/pep-0654/#except) syntax (for example,
`except *ExceptionGroup:`) is now supported ([#3016](https://togithub.com/psf/black/issues/3016))
- [PEP 646](https://peps.python.org/pep-0646) syntax (for example,
`Array[Batch, *Shape]` or `def fn(*args: *T) -> None`) is now supported ([#3071](https://togithub.com/psf/black/issues/3071))
##### Vim Plugin
- Fix `strtobool` function. It didn't parse true/on/false/off. ([#3025](https://togithub.com/psf/black/issues/3025))
Configuration
📅 Schedule: Branch creation - "before 9am every weekday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
22.3.0
->22.6.0
Note: The
pre-commit
manager in Renovate is not supported by thepre-commit
maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.Release Notes
psf/black
### [`v22.6.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2260) [Compare Source](https://togithub.com/psf/black/compare/22.3.0...22.6.0) ##### Style - Fix unstable formatting involving `#fmt: skip` and `# fmt:skip` comments (notice the lack of spaces) ([#2970](https://togithub.com/psf/black/issues/2970)) ##### Preview style - Docstring quotes are no longer moved if it would violate the line length limit ([#3044](https://togithub.com/psf/black/issues/3044)) - Parentheses around return annotations are now managed ([#2990](https://togithub.com/psf/black/issues/2990)) - Remove unnecessary parentheses around awaited objects ([#2991](https://togithub.com/psf/black/issues/2991)) - Remove unnecessary parentheses in `with` statements ([#2926](https://togithub.com/psf/black/issues/2926)) - Remove trailing newlines after code block open ([#3035](https://togithub.com/psf/black/issues/3035)) ##### Integrations - Add `scripts/migrate-black.py` script to ease introduction of Black to a Git project ([#3038](https://togithub.com/psf/black/issues/3038)) ##### Output - Output Python version and implementation as part of `--version` flag ([#2997](https://togithub.com/psf/black/issues/2997)) ##### Packaging - Use `tomli` instead of `tomllib` on Python 3.11 builds where `tomllib` is not available ([#2987](https://togithub.com/psf/black/issues/2987)) ##### Parser - [PEP 654](https://peps.python.org/pep-0654/#except) syntax (for example, `except *ExceptionGroup:`) is now supported ([#3016](https://togithub.com/psf/black/issues/3016)) - [PEP 646](https://peps.python.org/pep-0646) syntax (for example, `Array[Batch, *Shape]` or `def fn(*args: *T) -> None`) is now supported ([#3071](https://togithub.com/psf/black/issues/3071)) ##### Vim Plugin - Fix `strtobool` function. It didn't parse true/on/false/off. ([#3025](https://togithub.com/psf/black/issues/3025))Configuration
📅 Schedule: Branch creation - "before 9am every weekday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.