Black plugin for the Python Language Server
Project description
pyls-black
Black plugin for the Python Language Server.
pip3 install pyls-black
pyls-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.
pyls-black
will use your project's pyproject.toml if it has one.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyls-black-0.2.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for pyls_black-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 069976e4eabb6e75e44c11a91957a14b0c7e2ba204024ed7b406e98d609546f0 |
|
MD5 | c695e462c189c41cf9e9ade62d1a3217 |
|
BLAKE2b-256 | 0fa32c10cb7633a3c53c9f29d3e5d49295061365bd1622ed24086d1892f5318c |