Subject: CVS commit: pkgsrc/textproc/py-black
From: Adam Ciarcinski
Date: 2023-11-08 10:43:11
Message id: 20231108094312.09056FA2F@cvs.NetBSD.org

Log Message:
py-black: updated to 23.11.0

23.11.0

Highlights

- Support formatting ranges of lines with the new `--line-ranges` command-line option

Stable style

- Fix crash on formatting bytes strings that look like docstrings
- Fix crash when whitespace followed a backslash before newline in a docstring
- Fix standalone comments inside complex blocks crashing Black
- Fix crash on formatting code like `await (a ** b)`
- No longer treat leading f-strings as docstrings. This matches Python's \ 
behaviour and
 fixes a crash

Preview style

- Multiline dicts and lists that are the sole argument to a function are now indented
 less
- Multiline unpacked dicts and lists as the sole argument to a function are now also
 indented less
- In f-string debug expressions, quote types that are visible in the final string are
 now preserved
- Fix a bug where long `case` blocks were not split into multiple lines. Also enable
 general trailing comma rules on `case` blocks
- Keep requiring two empty lines between module-level docstring and first function or
 class definition
- Add support for single-line format skip with other comments on the same line

Configuration

- Consistently apply force exclusion logic before resolving symlinks
- Fix a bug in the matching of absolute path names in `--include`

Performance

- Fix mypyc builds on arm64 on macOS

Integrations

- Black's pre-commit integration will now run only on git hooks appropriate for \ 
a code
 formatter

Files:
RevisionActionfile
1.21modifypkgsrc/textproc/py-black/Makefile
1.8modifypkgsrc/textproc/py-black/PLIST
1.18modifypkgsrc/textproc/py-black/distinfo