Update dependency black to v23.11.0 #172

Merged
Xefir merged 1 commits from renovate/black-23.x-lockfile into master 2023-11-08 07:27:50 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
black (changelog) dev-dependencies minor 23.10.1 -> 23.11.0

Release Notes

psf/black (black)

v23.11.0

Compare Source

Highlights
  • Support formatting ranges of lines with the new --line-ranges command-line option
    (#​4020)
Stable style
  • Fix crash on formatting bytes strings that look like docstrings (#​4003)
  • Fix crash when whitespace followed a backslash before newline in a docstring (#​4008)
  • Fix standalone comments inside complex blocks crashing Black (#​4016)
  • Fix crash on formatting code like await (a ** b) (#​3994)
  • No longer treat leading f-strings as docstrings. This matches Python's behaviour and
    fixes a crash (#​4019)
Preview style
  • Multiline dicts and lists that are the sole argument to a function are now indented
    less (#​3964)
  • Multiline unpacked dicts and lists as the sole argument to a function are now also
    indented less (#​3992)
  • In f-string debug expressions, quote types that are visible in the final string are
    now preserved (#​4005)
  • Fix a bug where long case blocks were not split into multiple lines. Also enable
    general trailing comma rules on case blocks (#​4024)
  • Keep requiring two empty lines between module-level docstring and first function or
    class definition (#​4028)
  • Add support for single-line format skip with other comments on the same line (#​3959)
Configuration
  • Consistently apply force exclusion logic before resolving symlinks (#​4015)
  • Fix a bug in the matching of absolute path names in --include (#​3976)
Performance
  • Fix mypyc builds on arm64 on macOS (#​4017)
Integrations
  • Black's pre-commit integration will now run only on git hooks appropriate for a code
    formatter (#​3940)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [black](https://github.com/psf/black) ([changelog](https://github.com/psf/black/blob/main/CHANGES.md)) | dev-dependencies | minor | `23.10.1` -> `23.11.0` | --- ### Release Notes <details> <summary>psf/black (black)</summary> ### [`v23.11.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#23110) [Compare Source](https://github.com/psf/black/compare/23.10.1...23.11.0) ##### Highlights - Support formatting ranges of lines with the new `--line-ranges` command-line option ([#&#8203;4020](https://github.com/psf/black/issues/4020)) ##### Stable style - Fix crash on formatting bytes strings that look like docstrings ([#&#8203;4003](https://github.com/psf/black/issues/4003)) - Fix crash when whitespace followed a backslash before newline in a docstring ([#&#8203;4008](https://github.com/psf/black/issues/4008)) - Fix standalone comments inside complex blocks crashing Black ([#&#8203;4016](https://github.com/psf/black/issues/4016)) - Fix crash on formatting code like `await (a ** b)` ([#&#8203;3994](https://github.com/psf/black/issues/3994)) - No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash ([#&#8203;4019](https://github.com/psf/black/issues/4019)) ##### Preview style - Multiline dicts and lists that are the sole argument to a function are now indented less ([#&#8203;3964](https://github.com/psf/black/issues/3964)) - Multiline unpacked dicts and lists as the sole argument to a function are now also indented less ([#&#8203;3992](https://github.com/psf/black/issues/3992)) - In f-string debug expressions, quote types that are visible in the final string are now preserved ([#&#8203;4005](https://github.com/psf/black/issues/4005)) - Fix a bug where long `case` blocks were not split into multiple lines. Also enable general trailing comma rules on `case` blocks ([#&#8203;4024](https://github.com/psf/black/issues/4024)) - Keep requiring two empty lines between module-level docstring and first function or class definition ([#&#8203;4028](https://github.com/psf/black/issues/4028)) - Add support for single-line format skip with other comments on the same line ([#&#8203;3959](https://github.com/psf/black/issues/3959)) ##### Configuration - Consistently apply force exclusion logic before resolving symlinks ([#&#8203;4015](https://github.com/psf/black/issues/4015)) - Fix a bug in the matching of absolute path names in `--include` ([#&#8203;3976](https://github.com/psf/black/issues/3976)) ##### Performance - Fix mypyc builds on arm64 on macOS ([#&#8203;4017](https://github.com/psf/black/issues/4017)) ##### Integrations - Black's pre-commit integration will now run only on git hooks appropriate for a code formatter ([#&#8203;3940](https://github.com/psf/black/issues/3940)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDkuNCIsInVwZGF0ZWRJblZlciI6IjM2LjEwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
Xefir added 1 commit 2023-11-08 06:37:08 +00:00
Update dependency black to v23.11.0
All checks were successful
divent / lint (push) Successful in 2m7s
divent / docker (push) Successful in 2m21s
divent / pypi (push) Has been skipped
12cd4bc38b
Xefir merged commit 6072a3d5e6 into master 2023-11-08 07:27:50 +00:00
Xefir deleted branch renovate/black-23.x-lockfile 2023-11-08 07:27:51 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Xefir/Divent#172
No description provided.