atom-python-black
atom-python-black copied to clipboard
How to set up the path to executable on Windows?
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:
- python -m black
- python3 -m black
- C:\Python38\python.exe -m black
So how should I enter the path to black?
Copy the path to the black executable. If you're using a conda environment, you can type where black, and copy that path