We are not ready to automatically format the whole source code with black.
But from time to time I would like to execute black -S
on a region via PyCharm.
There is a hint in the docs how to run black
(or black -S
(what I like)) on the whole file. But ...
How to run black only on a selected region?
from PyCharm: Run `black -S` on region
No comments:
Post a Comment