Black plugin for the Python Language Server
In the same
pip3 install pyls-black
To avoid unexpected results you should make sure
autopep8 are not installed.
pyls-blackcan 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-blackwill use your project's pyproject.toml if it has one.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|pyls_black-0.2.1-py3-none-any.whl (3.1 kB) Copy SHA256 hash SHA256||Wheel||py3||Jun 18, 2018|
|pyls-black-0.2.1.tar.gz (2.6 kB) Copy SHA256 hash SHA256||Source||None||Jun 18, 2018|