🔧 add settings.json vscode config
This commit is contained in:
parent
bb93f6ab47
commit
2375a23ca5
27
.vscode/settings.json
vendored
Normal file
27
.vscode/settings.json
vendored
Normal 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,
|
||||
},
|
||||
}
|
Loading…
Reference in a new issue