mikehoyio / atom-python-black

Python Black for Atom editor
MIT License
20 stars 7 forks source link

How to set up the path to executable on Windows? #31

Open morphogencc opened 2 years ago

morphogencc commented 2 years ago

In the power shell, I can enter:

python -m black <filename>

and black will run.

However, I can't what format the Atom config wants.

It isn't:

So how should I enter the path to black?

CaptainStabs commented 2 years ago

Copy the path to the black executable. If you're using a conda environment, you can type where black, and copy that path