Skip to content

Commit 6ddf729

Browse files
authored
Update README.md
1 parent 0edafb7 commit 6ddf729

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,8 @@
88
pip3 install pyls-black
99
```
1010

11-
`pyls-black` can either format an entire file or just the selected text.
12-
The code will only be formatted if it is syntactically valid Python.
13-
Text selections are treated as if they were a separate Python file.
14-
Note that this means you can't format an indented block of code.
15-
16-
## TODO
17-
18-
* Add support for configuring the line length and fast flag.
11+
* `pyls-black` can either format an entire file or just the selected text.
12+
* The code will only be formatted if it is syntactically valid Python.
13+
* Text selections are treated as if they were a separate Python file.
14+
Unfortunately this means you can't format an indented block of code.
15+
* `pyls-black` will use your project's [pyproject.toml](https://github.com/ambv/black#pyprojecttoml) if it has one.

0 commit comments

Comments
 (0)