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?