29 lines
706 B
JSON
29 lines
706 B
JSON
{
|
|
// 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,
|
|
"**/.pytest_cache": true,
|
|
}
|
|
}
|