pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-black



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Oct 18 08:00:58 UTC 2023

Modified Files:
        pkgsrc/textproc/py-black: Makefile distinfo

Log Message:
py-black: updated to 23.10.0

23.10.0

Stable style

- Fix comments getting removed from inside parenthesized strings

Preview style

- Fix long lines with power operators getting split before the line length
- Long type hints are now wrapped in parentheses and properly indented when split across
 multiple lines
- Magic trailing commas are now respected in return types.
- Require one empty line after module-level docstrings.
- Treat raw triple-quoted strings as docstrings

Configuration

- Fix cache versioning logic when `BLACK_CACHE_DIR` is set

Parser

- Fix bug where attributes named `type` were not acccepted inside `match` statements

- Add support for PEP 695 type aliases containing lambdas and other unusual expressions

Output

- Black no longer attempts to provide special errors for attempting to format Python 2
 code
- Black will more consistently print stacktraces on internal errors in verbose mode

Integrations

- The action output displayed in the job summary is now wrapped in Markdown


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/textproc/py-black/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/textproc/py-black/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-black/Makefile
diff -u pkgsrc/textproc/py-black/Makefile:1.17 pkgsrc/textproc/py-black/Makefile:1.18
--- pkgsrc/textproc/py-black/Makefile:1.17      Mon Sep 11 09:27:50 2023
+++ pkgsrc/textproc/py-black/Makefile   Wed Oct 18 08:00:58 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2023/09/11 09:27:50 adam Exp $
+# $NetBSD: Makefile,v 1.18 2023/10/18 08:00:58 adam Exp $
 
-DISTNAME=      black-23.9.1
+DISTNAME=      black-23.10.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/black/}

Index: pkgsrc/textproc/py-black/distinfo
diff -u pkgsrc/textproc/py-black/distinfo:1.15 pkgsrc/textproc/py-black/distinfo:1.16
--- pkgsrc/textproc/py-black/distinfo:1.15      Mon Sep 11 09:27:50 2023
+++ pkgsrc/textproc/py-black/distinfo   Wed Oct 18 08:00:58 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.15 2023/09/11 09:27:50 adam Exp $
+$NetBSD: distinfo,v 1.16 2023/10/18 08:00:58 adam Exp $
 
-BLAKE2s (black-23.9.1.tar.gz) = 49ff1336a94b10fec112d9ec315df252fce471bcfff83a7b6d83a42e731eef16
-SHA512 (black-23.9.1.tar.gz) = 0732409800a131fee69fffa8e7be8c128d26f0f75038235ba6f8c7451901199eed4118a2cb640ec0a5e6b40238bf41991c4a0559534f3a9f13d29f118e5b4aaa
-Size (black-23.9.1.tar.gz) = 589529 bytes
+BLAKE2s (black-23.10.0.tar.gz) = c5aa202ddeb40baf1d4de56b79dc79257b813eb310a582b50ed26aedf5b0e05e
+SHA512 (black-23.10.0.tar.gz) = 2d24a269e66e07473afb0eeb0e25472ed53b20a4dad3622319cafd2f90f2615b4eba39971269c75208c439bfc430ca9b4922e7cce6ec9bd28e648cd62b75aea4
+Size (black-23.10.0.tar.gz) = 595880 bytes



Home | Main Index | Thread Index | Old Index