From 17fd02606bb54952af202f6af2d22377c1b12236 Mon Sep 17 00:00:00 2001 From: JeanElsner Date: Fri, 17 Nov 2023 10:21:08 +0100 Subject: [PATCH] Add vscode Python settings --- .vscode/settings.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..3a9df2b --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,21 @@ +{ + "editor.tabSize": 2, + + "pylint.args": [ + "--rcfile=.pylintrc" + ], + + "yapf.args": [ + "--style", + "{based_on_style: google, indent_width: 2}" + ], + + "[python]": { + "editor.formatOnSaveMode": "file", + "editor.formatOnSave": true, + "editor.defaultFormatter": "eeyore.yapf", + "editor.codeActionsOnSave": { + "source.organizeImports": true + }, + }, +} \ No newline at end of file