BSD Ports

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

Black plugin for the Python LSP Server

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
textproc, python
Package size
10.6 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.

Install

Binary package:

pkg install py312-python-lsp-black

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-python-lsp-black>0:textproc/py-python-lsp-black

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.0.0_12.0.0_11.2.12.0.0_12.0.0_1
FreeBSD:14:quarterly2.0.0_12.0.0_1n/a2.0.0_12.0.0_1
FreeBSD:15:latest2.0.0_12.0.0_1n/a2.0.0_12.0.0_1
FreeBSD:15:quarterly2.0.0_12.0.0_1n/an/an/a
FreeBSD:16:latest2.0.0_12.0.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 93

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
python-lsp-black-2.0.0.tar.gz120518286d2d310c566844b3c116b824ada6fccfa6ba228b1a09a0526b74c04e0805f
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.