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.
Note that this means you can't format an indented block of code.
TODO
- Add support for configuring the line length and fast flag.
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.1.0.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for pyls_black-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 675f13b17d1ad79eb3f66e32a025fee2f89f8f10907e9f472a8f4235e99010b8 |
|
MD5 | 8b6103695a816cc423b16acec8218a98 |
|
BLAKE2b-256 | 063f7893acb2a8c34afee09e7142639d4cb28fc6d31ea690b17bcb78a73ace0a |