-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
T: enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
I love black, and have championed its adoption where I work (ravelin.com).
However, it is currently not a viable save hook in the same way gofmt and rustfmt are: taking into account the startup time of the Python interpreter, it is simply too slow. After every save, I need to be conscious that I need to wait a second or two for black to do its thing and let my editor autoreload.
Would you be open to adding a server/daemon mode, where a persistent instance of Black is running and listening to formatting requests?
(Of course, ideally we would compile Black into a very quickly starting binary, but that is probably quite a difficult task.)
schneiderfelipe
Metadata
Metadata
Assignees
Labels
T: enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed