generated from realAscot/template-python
31 lines
982 B
JSON
31 lines
982 B
JSON
|
{ // Bitte daran denken das Kommentare eigentlich nicht von json unterstützt werden :-)
|
||
|
// Das funktioniert hier nur in Microsofts jsonc im VS-Code!
|
||
|
"python.linting.enabled": true,
|
||
|
"python.linting.pylintEnabled": true,
|
||
|
"python.linting.mypyEnabled": true,
|
||
|
"python.linting.pylintArgs": ["--disable=C0114,C0115,C0116"],
|
||
|
"editor.formatOnSave": true,
|
||
|
"editor.codeActionsOnSave": {
|
||
|
"source.organizeImports": "explicit"
|
||
|
},
|
||
|
"python.analysis.typeCheckingMode": "basic",
|
||
|
|
||
|
// Abschliessende Leerzeichen entfernen:
|
||
|
"files.trimTrailingWhitespace": true,
|
||
|
"files.insertFinalNewline": true,
|
||
|
|
||
|
// Markdown für das Entfernen von abschliessenden Leerzeichen rausnehmen:
|
||
|
"[markdown]": {
|
||
|
"files.trimTrailingWhitespace": false,
|
||
|
"editor.wordWrap": "off"
|
||
|
},
|
||
|
|
||
|
// Für Pythonfiles Tababstand definieren und Tabs durch Leerzeichen ersetzen
|
||
|
"[python]": {
|
||
|
"editor.tabSize": 4,
|
||
|
"editor.insertSpaces": true
|
||
|
},
|
||
|
|
||
|
|
||
|
}
|