mikehoyio / atom-python-black

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

Black installed but plugin not works #23

Closed fupydev closed 5 years ago

fupydev commented 5 years ago

Atom 1.40.1 x 64 Electron: 3.1.10 Chrome : 66.0.3359.181 Node : 10.2.0 black, version 19.3b0 os : Ubuntu 18.04 x 64

Black works via command line, but atom plugin not works. I have tried both "on save" & snippets. Also, I have tried to change the default path to black, it didnt help too. Reboot didnt help. Black : -rwxr-xr-x 1 root root 223 жов 4 16:49 /usr/local/bin/black Atom :-rwxr-xr-x 1 root root 5181 сер 19 23:30 /usr/bin/atom No errors, no messeages. Maybe you have any thoughts?

additional info:

pip install black
Requirement already satisfied: black in /usr/local/lib/python3.6/dist-packages (19.3b0)
Requirement already satisfied: appdirs in /usr/local/lib/python3.6/dist-packages (from black) (1.4.3)
Requirement already satisfied: click>=6.5 in /usr/local/lib/python3.6/dist-packages (from black) (6.7)
Requirement already satisfied: attrs>=18.1.0 in /usr/local/lib/python3.6/dist-packages (from black) (18.2.0)
Requirement already satisfied: toml>=0.9.4 in /usr/local/lib/python3.6/dist-packages (from black) (0.10.0)
fupydev commented 5 years ago

Yesterday it haven't work, but today it works. Nothing has been changed in settings. Magic)