How do I use the Black code formatter for python code. Where do I run its commands?

477 Views Asked by At

I want to format my code according to a set of rules. So I want to use te Black code formatter. I have installed it using pip install black Its documentation does not have detailed guidelines on how to use it. Can you please help? I want to use it in spyder anaconda preferably.

Edit: I just read that spyder does not support Black editor as of now. So please can you tell me how do I use it?

0

There are 0 best solutions below