From 2375a23ca508a1c69a431053f2a85461d9dd4c9f Mon Sep 17 00:00:00 2001 From: Laurent FAINSIN Date: Mon, 24 Apr 2023 11:46:04 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20add=20settings.json=20vscode=20c?= =?UTF-8?q?onfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..851d601 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,27 @@ +{ + // good pratice settings + "editor.formatOnSave": true, + "python.linting.enabled": true, + "python.linting.lintOnSave": true, + "python.linting.mypyEnabled": true, + "files.insertFinalNewline": true, + "python.analysis.typeCheckingMode": "basic", // get ready to be annoyed + "python.formatting.provider": "black", + "[python]": { + "editor.codeActionsOnSave": { + "source.organizeImports": true // isort + } + }, + "files.exclude": { + // defaults + "**/.git": true, + "**/.svn": true, + "**/.hg": true, + "**/CVS": true, + "**/.DS_Store": true, + "**/Thumbs.db": true, + // annoying + "**/__pycache__": true, + "**/.mypy_cache": true, + }, +}