Subject: CVS commit: pkgsrc/textproc/py-black
From: Adam Ciarcinski
Date: 2022-07-11 10:52:49
Message id: 20220711085249.E4A60FB1A@cvs.NetBSD.org

Log Message:
py-black: updated to 22.6.0

22.6.0

Style

- Fix unstable formatting involving `#fmt: skip` and `# fmt:skip` comments \ 
(notice the
  lack of spaces)

Preview style

- Docstring quotes are no longer moved if it would violate the line length limit
- Parentheses around return annotations are now managed
- Remove unnecessary parentheses around awaited objects
- Remove unnecessary parentheses in `with` statements
- Remove trailing newlines after code block open

Integrations

- Add `scripts/migrate-black.py` script to ease introduction of Black to a Git \ 
project

Output

- Output Python version and implementation as part of `--version` flag

Packaging

- Use `tomli` instead of `tomllib` on Python 3.11 builds where `tomllib` is not
  available

Parser

- [PEP 654](https://peps.python.org/pep-0654/#except) syntax (for example,
  `except *ExceptionGroup:`) is now supported
- [PEP 646](https://peps.python.org/pep-0646) syntax (for example,
  `Array[Batch, *Shape]` or `def fn(*args: *T) -> None`) is now supported

Vim Plugin

- Fix `strtobool` function. It didn't parse true/on/false/off.

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