BSD Ports

textproc/py-black 26.5.1 NetBSD

Uncompromising Python code formatter

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
65c9b1c391
License
mit
Categories
textproc, devel, python
Package size
373.2 KiB, 2093.0 KiB installed

Description

By using Black, you agree to cede control over minutiae of hand-formatting. In return, Black gives you speed, determinism, and freedom from pycodestyle nagging about formatting. You will save time and mental energy for more important matters.

In the other systems

SystemPortVersion
NetBSDtextproc/py-black26.5.1
FreeBSDdevel/py-black26.5.1
OpenBSDtextproc/py-black26.1.0p0
HardenedBSDdevel/py-black26.5.1
GhostBSDdevel/py-black26.5.1

Install

Binary package:

pkgin install py312-black

From pkgsrc:

cd /usr/pkgsrc/textproc/py-black && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_6426.5.1
NetBSD 10.1 aarch6426.5.1
SmartOS / illumos x86_6426.10.1
macOS 15 arm6426.10.1

Dependencies

Run dependencies 8

Configuration

No options to configure.

Service scripts
none
Flavors
py313-black-26.5.1, py314-black-26.5.1

Commit history 3

DateCommitCreditsLog message
65c9b1c391 adam Forget Python 3.10
850257538a adam py-black: updated to 26.10.1
26.10.1 Highlights This release fixes a security issue in Black's bundled GitHub Action. Repositories that use the action are encouraged to update to the latest version of Black immediately. This update is received automatically when using `psf/black@stable`, and is independent of the version of Black installed by the action. When the GitHub Action reads version specifiers from `tool.black.required-version`, it now only accepts released versions of Black, as it already did for `black` requirements in dependency lists. Other values, such as URL references, are now rejected. This issue has been registered as `GHSA-cg8m-r9f2-5wm2`; a CVE identifier is pending. Stable style - Fix a long Jupyter notebook assignment magic (for example `x = !ls -la`) being wrapped …
a54de184d6 adam py-black: updated to 26.10.0
26.10.0 Stable style - `--line-ranges` no longer inserts an empty line after a docstring when the range covers only the docstring itself - Fix `# fmt: skip` on a bracketed ternary turning the surrounding tuple into a call - Fix crash when `# fmt: skip` is placed on a one-line function or class with PEP 695 type parameters - Fix an inline comment after the closing bracket of optional parentheses being moved inside the parentheses when the parenthesized expression contains own-line comments - Fix unparseable output when `# fmt: skip` is placed on a bracket of an `if`, `while`, `for`, or `with` header - Fix crash when formatting parenthesized expressions with multiple inline comments and `# fmt: skip` …