pip install black
pip install pylint
Add Black to settings.json on VS Code (command + shift + P -> open settings (JSON)):
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true
},
To format using Black, do command + shift + P -> Format Document
To run Pylint on entire project, do pylint ./backend
pip install black
pip install pylint
Add Black to settings.json on VS Code (command + shift + P -> open settings (JSON)):
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true
},
To format using Black, do command + shift + P -> Format Document
To run Pylint on entire project, do pylint ./backend