🔧 add settings.json vscode config

This commit is contained in:
Laurent FAINSIN 2023-04-24 11:46:04 +02:00
parent bb93f6ab47
commit 2375a23ca5

27
.vscode/settings.json vendored Normal file
View file

@ -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,
},
}