Update dependency black to v23.11.0 #92

Merged
renovate[bot] merged 1 commits from renovate/black-23.x into main 2023-11-08 08:32:43 +01:00
renovate[bot] commented 2023-11-08 08:27:57 +01:00 (Migrated from github.com)

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
black (changelog) ==23.10.1 -> ==23.11.0 age adoption passing confidence

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 is behind base branch, 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 Mend Renovate. View repository job log here.

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [black](https://togithub.com/psf/black) ([changelog](https://togithub.com/psf/black/blob/main/CHANGES.md)) | `==23.10.1` -> `==23.11.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/black/23.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/black/23.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/black/23.10.1/23.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/black/23.10.1/23.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>psf/black (black)</summary> ### [`v23.11.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#23110) [Compare Source](https://togithub.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://togithub.com/psf/black/issues/4020)) ##### Stable style - Fix crash on formatting bytes strings that look like docstrings ([#&#8203;4003](https://togithub.com/psf/black/issues/4003)) - Fix crash when whitespace followed a backslash before newline in a docstring ([#&#8203;4008](https://togithub.com/psf/black/issues/4008)) - Fix standalone comments inside complex blocks crashing Black ([#&#8203;4016](https://togithub.com/psf/black/issues/4016)) - Fix crash on formatting code like `await (a ** b)` ([#&#8203;3994](https://togithub.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://togithub.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://togithub.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://togithub.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://togithub.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://togithub.com/psf/black/issues/4024)) - Keep requiring two empty lines between module-level docstring and first function or class definition ([#&#8203;4028](https://togithub.com/psf/black/issues/4028)) - Add support for single-line format skip with other comments on the same line ([#&#8203;3959](https://togithub.com/psf/black/issues/3959)) ##### Configuration - Consistently apply force exclusion logic before resolving symlinks ([#&#8203;4015](https://togithub.com/psf/black/issues/4015)) - Fix a bug in the matching of absolute path names in `--include` ([#&#8203;3976](https://togithub.com/psf/black/issues/3976)) ##### Performance - Fix mypyc builds on arm64 on macOS ([#&#8203;4017](https://togithub.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://togithub.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 is behind base branch, 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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/luketainton/webexmemebot). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
luketainton (Migrated from github.com) reviewed 2023-11-08 08:27:57 +01:00
sonarqubecloud[bot] commented 2023-11-08 08:28:50 +01:00 (Migrated from github.com)

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Kudos, SonarCloud Quality Gate passed!&nbsp; &nbsp; [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=luketainton_webexmemebot&pullRequest=92) [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=92&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=92&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=92&resolved=false&types=BUG) [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=92&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=92&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=92&resolved=false&types=VULNERABILITY) [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=luketainton_webexmemebot&pullRequest=92&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=luketainton_webexmemebot&pullRequest=92&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=luketainton_webexmemebot&pullRequest=92&resolved=false&types=SECURITY_HOTSPOT) [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=92&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=92&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=92&resolved=false&types=CODE_SMELL) [![No Coverage information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png 'No Coverage information')](https://sonarcloud.io/component_measures?id=luketainton_webexmemebot&pullRequest=92) No Coverage information [![No Duplication information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo-16px.png 'No Duplication information')](https://sonarcloud.io/component_measures?id=luketainton_webexmemebot&pullRequest=92&metric=duplicated_lines_density&view=list) No Duplication information
Sign in to join this conversation.
No description provided.