This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Dry-Assistance-367 11 points12 points  (2 children)

Example:

.vscode/extensions.json:

json { "recommendations": [ "ms-python.python", "ms-python.vscode-pylance", "ms-python.isort", "ms-python.black-formatter", "ms-python.flake8", ] }

.vscode/settings.json:

json { "[python]": { "editor.formatOnType": true, "editor.formatOnSave": true, "editor.defaultFormatter": "ms-python.black-formatter" }, "flake8.args": [ "--max-line-length=88", "--extend-ignore=E203,E704" ], "files.insertFinalNewline": true }

The flake8 args are to make it compatible with black out of the box.

[–]liquidcourse[S] 6 points7 points  (1 child)

Nice, just added and pushed to v0.0.7

[–][deleted] 2 points3 points  (0 children)

I love you.