Commit 77523d97 authored by rhurlin's avatar rhurlin
Browse files

New port: devel/py-pyls-black: Black plugin for the Python Language Server

https://github.com/rupert/pyls-black
parent d2f3463d
......@@ -4895,6 +4895,7 @@
SUBDIR += py-pylibsrtp
SUBDIR += py-pylru
SUBDIR += py-pylru-cache
SUBDIR += py-pyls-black
SUBDIR += py-pymarc
SUBDIR += py-pymaven-patch
SUBDIR += py-pymisp
......
# Created by: Rainer Hurling <rhurlin@gwdg.de>
# $FreeBSD$
PORTNAME= pyls-black
PORTVERSION= 0.4.6
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rhurlin@FreeBSD.org
COMMENT= Black plugin for the Python Language Server
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}black>0:devel/py-black@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>
TIMESTAMP = 1614419094
SHA256 (pyls-black-0.4.6.tar.gz) = 33700e5ed605636ea7ba39188a1362d2f8602f7301f8f2b8544773886f965663
SIZE (pyls-black-0.4.6.tar.gz) = 3010
Black plugin for the Python Language Server.
- 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. This also means that an indented block of code
cannot be formatted
- Will use your project's pyproject.toml if it has one.
Using pyls-black while yapf and autopep8 are installed, may
lead to unexpected results!
WWW: https://github.com/rupert/pyls-black
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment