BSD Ports

textproc/py-python-lsp-black 2.0.0_1 DragonFly

Black plugin for the Python LSP Server

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
python, textproc
Package size
10.0 KiB, 28.3 KiB installed

Description

Black plugin for the Python LSP Server.

* This plugin will disable the yapf and autopep8 plugins if installed. * python-lsp-black can either format an entire file or just the selected text. * The code will only be formatted if it is syntactically valid Python. * Text selections are treated as if they were a separate Python file. Unfortunately this means you can't format an indented block of code. * python-lsp-black will use your project's pyproject.toml if it has one. * python-lsp-black only officially supports the latest stable version of black. An effort is made to keep backwards-compatibility but older black versions will not be actively tested. * The plugin can cache the black configuration that applies to each Python file, this improves performance of the plugin. When configuration caching is enabled any changes to black's configuration will need the LSP server to be restarted. Configuration caching can be disabled with the cache_config option.

In the other systems

The newest version among them is 2.0.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlytextproc/py-python-lsp-black2.0.0_1 newestnone known-[email protected]-
FreeBSDtextproc/py-python-lsp-black2.0.0_1 newestnone known-[email protected]-
HardenedBSDtextproc/py-python-lsp-black2.0.0_1 newestno data-[email protected]-
GhostBSDtextproc/py-python-lsp-black2.0.0_1 newestno data-[email protected]-

Version history 1

  1. 2.0.0

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install py312-python-lsp-black

From DPorts:

cd /usr/dports/textproc/py-python-lsp-black && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2

No port depends on this one.