관리 메뉴

Silver Library (Archived)

Python/Django : Why formatter black never works? 본문

Personal DB

Python/Django : Why formatter black never works?

Chesed Kim 2020. 12. 2. 16:10
반응형

 

Problem:

Never works as I expected. Installed black. Pressed save button. Never. Nothing changes.

 

Solution:

Use the terminal for each individual file. Just like how I press the save button.

e.g. black filename.py

 

Be sure to install that black extension by input pip install black

 

Source: me and saviour

stackoverflow.com/questions/65101442/formatter-black-is-not-working-on-my-vscode-but-why/65101734#65101734

 

Formatter black is not working on my VSCode...but why?

I have started using Python and Django and I am very new in this field. And this is my first time to ask a question here...I do apologise in advance if there is a known solution to this issue... Wh...

stackoverflow.com