Hi,

I'm trying to create a very simple text filter that uses Black to format 
Python code. According to their documentation 
<https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#standard-input>,
 
Black supports formatting code via stdin, with the result being printed to 
stdout. So my text filter is simply:

#!/bin/bash

black -

Script output says that the reformat was successful, yet my file doesn't 
change. Anyone has experience with using Black in BBEdit?

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/3b0c2374-428b-453a-9ff8-601183befd23n%40googlegroups.com.

Reply via email to