From 7099d773c9aaf46ad0cd170f550b4cbfa49177e5 Mon Sep 17 00:00:00 2001 From: Justin Zhao Date: Wed, 11 Oct 2023 19:03:58 +0000 Subject: [PATCH] Update recommended vscode settings. --- .vscode/settings.json | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index fba148f3ce7..bd803cd8d52 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,10 +3,15 @@ 120 ], "editor.formatOnSave": true, - "python.formatting.provider": "black", - "python.linting.enabled": true, - "python.linting.flake8Enabled": true, - "python.linting.flake8Args": [ + "[python]": { + "editor.defaultFormatter": "ms-python.black-formatter", + "editor.formatOnSave": true + }, + "black-formatter.args": [ + "--line-length", + "120" + ], + "flake8.args": [ "--config=setup.cfg" ], "python.testing.unittestEnabled": false,