Simplifying Black Installation
Hi everyone, I wanted to share a helpful video I came across that walks through the process of installing Black. While it's a straightforward process, there were a few nuances that I encountered along the way, which I thought I'd share for your benefit. You can watch the tutorial here: https://www.youtube.com/watch?v=YapHfCRCpig After obtaining Black, please verify if you already have a file named .vscode. If you do, navigate inside and locate the file named settings.json. Update its content to match the following code: { "python.formatting.provider": "black", "editor.defaultFormatter": "ms-python.black-formatter", "editor.formatOnSave": true } In the event that you do not find the .vscode folder for any reason, create both the folder and the file. Subsequently, paste the provided code into it. So, in summary: - Folder: .vscode - File: settings.json - Code: { "python.formatting.provider": "black", "editor.defaultFormatter": "ms-python.black-formatter", "editor.formatOnSave": true } I hope you find this information as useful as I did. Warm regards, Ana 😉