File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 8
8
pip3 install pyls-black
9
9
```
10
10
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.
You can’t perform that action at this time.
0 commit comments