Skip to content

Commit

Permalink
py-black: update to 23.12.0.
Browse files Browse the repository at this point in the history
## 23.12.0

### Highlights

It's almost 2024, which means it's time for a new edition of _Black_'s stable style!
Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft
2024 stable style, which we'll finalize in the January release. Please try it out and
[share your feedback](psf/black#4042).

This release (23.12.0) will still produce the 2023 style. Most but not all of the
changes in `--preview` mode will be in the 2024 stable style.

### Stable style

- Fix bug where `# fmt: off` automatically dedents when used with the `--line-ranges`
  option, even when it is not within the specified line range. (#4084)
- Fix feature detection for parenthesized context managers (#4104)

### Preview style

- Prefer more equal signs before a break when splitting chained assignments (#4010)
- Standalone form feed characters at the module level are no longer removed (#4021)
- Additional cases of immediately nested tuples, lists, and dictionaries are now
  indented less (#4012)
- Allow empty lines at the beginning of all blocks, except immediately before a
  docstring (#4060)
- Fix crash in preview mode when using a short `--line-length` (#4086)
- Keep suites consisting of only an ellipsis on their own lines if they are not
  functions or class definitions (#4066) (#4103)

### Configuration

- `--line-ranges` now skips _Black_'s internal stability check in `--safe` mode. This
  avoids a crash on rare inputs that have many unformatted same-content lines. (#4034)

### Packaging

- Upgrade to mypy 1.7.1 (#4049) (#4069)
- Faster compiled wheels are now available for CPython 3.12 (#4070)

### Integrations

- Enable 3.12 CI (#4035)
- Build docker images in parallel (#4054)
- Build docker images with 3.12 (#4055)
  • Loading branch information
0-wiz-0 committed Dec 17, 2023
1 parent c130021 commit 1aeebef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions textproc/py-black/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.21 2023/11/08 09:43:11 adam Exp $
# $NetBSD: Makefile,v 1.22 2023/12/17 22:20:04 wiz Exp $

DISTNAME= black-23.11.0
DISTNAME= black-23.12.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/black/}
Expand Down
8 changes: 4 additions & 4 deletions textproc/py-black/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.18 2023/11/08 09:43:11 adam Exp $
$NetBSD: distinfo,v 1.19 2023/12/17 22:20:04 wiz Exp $

BLAKE2s (black-23.11.0.tar.gz) = d04602a70b09d8816a5465174753555ec37066b5a5d6c4c25f3e749e5f403238
SHA512 (black-23.11.0.tar.gz) = 50c9d04f57cae3b8338abd90c54f5025b915e8d50cc79863b3b540a434250475f13cd6c48f15e9b955981a2a6dadec9b4eed4caa277f349a8406d7f8640f2a2e
Size (black-23.11.0.tar.gz) = 615416 bytes
BLAKE2s (black-23.12.0.tar.gz) = f9b84ab25e259f4abc8e7686759716e4fe2159dcaad4acf77985c7607a16a4a4
SHA512 (black-23.12.0.tar.gz) = bd087688dba8a56743489d4b9bed888e43fe0988deb211d58680a760c799384541d9fcb882d14c3e56b4f9559f46ce5b12bc03569621863b583526cbfea62ac5
Size (black-23.12.0.tar.gz) = 620742 bytes

0 comments on commit 1aeebef

Please sign in to comment.