Skip to content

Commit

Permalink
chore(deps): update dependency black to v24.10.0 (#207)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [black](https://redirect.github.com/psf/black)
([changelog](https://redirect.github.com/psf/black/blob/main/CHANGES.md))
| dev | minor | `24.3.0` -> `24.10.0` |

---

### Release Notes

<details>
<summary>psf/black (black)</summary>

###
[`v24.10.0`](https://redirect.github.com/psf/black/blob/HEAD/CHANGES.md#24100)

[Compare
Source](https://redirect.github.com/psf/black/compare/24.8.0...24.10.0)

##### Highlights

- Black is now officially tested with Python 3.13 and provides Python
3.13
mypyc-compiled wheels.
([#&#8203;4436](https://redirect.github.com/psf/black/issues/4436))
([#&#8203;4449](https://redirect.github.com/psf/black/issues/4449))
- Black will issue an error when used with Python 3.12.5, due to an
upstream memory
safety issue in Python 3.12.5 that can cause Black's AST safety checks
to fail. Please
use Python 3.12.6 or Python 3.12.4 instead.
([#&#8203;4447](https://redirect.github.com/psf/black/issues/4447))
- Black no longer supports running with Python 3.8
([#&#8203;4452](https://redirect.github.com/psf/black/issues/4452))

##### Stable style

- Fix crashes involving comments in parenthesised return types or `X |
Y` style unions.
    ([#&#8203;4453](https://redirect.github.com/psf/black/issues/4453))
- Fix skipping Jupyter cells with unknown `%%` magic
([#&#8203;4462](https://redirect.github.com/psf/black/issues/4462))

##### Preview style

- Fix type annotation spacing between \* and more complex type variable
tuple (i.e. `def
fn(*args: *tuple[*Ts, T]) -> None: pass`)
([#&#8203;4440](https://redirect.github.com/psf/black/issues/4440))

##### Caching

- Fix bug where the cache was shared between runs with and without
`--unstable`
([#&#8203;4466](https://redirect.github.com/psf/black/issues/4466))

##### Packaging

- Upgrade version of mypyc used to 1.12 beta
([#&#8203;4450](https://redirect.github.com/psf/black/issues/4450))
([#&#8203;4449](https://redirect.github.com/psf/black/issues/4449))
- `blackd` now requires a newer version of aiohttp.
([#&#8203;4451](https://redirect.github.com/psf/black/issues/4451))

##### Output

- Added Python target version information on parse error
([#&#8203;4378](https://redirect.github.com/psf/black/issues/4378))
- Add information about Black version to internal error messages
([#&#8203;4457](https://redirect.github.com/psf/black/issues/4457))

###
[`v24.8.0`](https://redirect.github.com/psf/black/blob/HEAD/CHANGES.md#2480)

[Compare
Source](https://redirect.github.com/psf/black/compare/24.4.2...24.8.0)

##### Stable style

- Fix crash when `# fmt: off` is used before a closing parenthesis or
bracket.
([#&#8203;4363](https://redirect.github.com/psf/black/issues/4363))

##### Packaging

- Packaging metadata updated: docs are explictly linked, the issue
tracker is now also
linked. This improves the PyPI listing for Black.
([#&#8203;4345](https://redirect.github.com/psf/black/issues/4345))

##### Parser

- Fix regression where Black failed to parse a multiline f-string
containing another
multiline string
([#&#8203;4339](https://redirect.github.com/psf/black/issues/4339))
- Fix regression where Black failed to parse an escaped single quote
inside an f-string
    ([#&#8203;4401](https://redirect.github.com/psf/black/issues/4401))
- Fix bug with Black incorrectly parsing empty lines with a backslash
([#&#8203;4343](https://redirect.github.com/psf/black/issues/4343))
- Fix bugs with Black's tokenizer not handling `\{` inside f-strings
very well
([#&#8203;4422](https://redirect.github.com/psf/black/issues/4422))
- Fix incorrect line numbers in the tokenizer for certain tokens within
f-strings
    ([#&#8203;4423](https://redirect.github.com/psf/black/issues/4423))

##### Performance

- Improve performance when a large directory is listed in `.gitignore`
([#&#8203;4415](https://redirect.github.com/psf/black/issues/4415))

##### *Blackd*

- Fix blackd (and all extras installs) for docker container
([#&#8203;4357](https://redirect.github.com/psf/black/issues/4357))

###
[`v24.4.2`](https://redirect.github.com/psf/black/blob/HEAD/CHANGES.md#2442)

[Compare
Source](https://redirect.github.com/psf/black/compare/24.4.1...24.4.2)

This is a bugfix release to fix two regressions in the new f-string
parser introduced in
24.4.1.

##### Parser

- Fix regression where certain complex f-strings failed to parse
([#&#8203;4332](https://redirect.github.com/psf/black/issues/4332))

##### Performance

- Fix bad performance on certain complex string literals
([#&#8203;4331](https://redirect.github.com/psf/black/issues/4331))

###
[`v24.4.1`](https://redirect.github.com/psf/black/blob/HEAD/CHANGES.md#2441)

[Compare
Source](https://redirect.github.com/psf/black/compare/24.4.0...24.4.1)

##### Highlights

- Add support for the new Python 3.12 f-string syntax introduced by PEP
701 ([#&#8203;3822](https://redirect.github.com/psf/black/issues/3822))

##### Stable style

- Fix crash involving indented dummy functions containing newlines
([#&#8203;4318](https://redirect.github.com/psf/black/issues/4318))

##### Parser

- Add support for type parameter defaults, a new syntactic feature added
to Python 3.13
by PEP 696
([#&#8203;4327](https://redirect.github.com/psf/black/issues/4327))

##### Integrations

- Github Action now works even when `git archive` is skipped
([#&#8203;4313](https://redirect.github.com/psf/black/issues/4313))

###
[`v24.4.0`](https://redirect.github.com/psf/black/blob/HEAD/CHANGES.md#2440)

[Compare
Source](https://redirect.github.com/psf/black/compare/24.3.0...24.4.0)

##### Stable style

- Fix unwanted crashes caused by AST equivalency check
([#&#8203;4290](https://redirect.github.com/psf/black/issues/4290))

##### Preview style

- `if` guards in `case` blocks are now wrapped in parentheses when the
line is too long.
    ([#&#8203;4269](https://redirect.github.com/psf/black/issues/4269))
- Stop moving multiline strings to a new line unless inside brackets
([#&#8203;4289](https://redirect.github.com/psf/black/issues/4289))

##### Integrations

- Add a new option `use_pyproject` to the GitHub Action `psf/black`.
This will read the
Black version from `pyproject.toml`.
([#&#8203;4294](https://redirect.github.com/psf/black/issues/4294))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjkuMiIsInVwZGF0ZWRJblZlciI6IjM4LjEyOS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->

Co-authored-by: descope[bot] <107609351+descope[bot]@users.noreply.github.com>
  • Loading branch information
descope[bot] authored Oct 28, 2024
1 parent d997e4a commit 48a30eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ descope = "^1.5.1"

[tool.poetry.group.dev.dependencies]
flake8 = "7.0.0"
black = "24.3.0"
black = "24.10.0"
pre-commit = { version = "3.6.0", python = ">=3.9" }
liccheck = "0.9.2"
isort = "5.13.0"
Expand Down

0 comments on commit 48a30eb

Please sign in to comment.