proxy.py/.vscode/settings.json

44 lines
1.2 KiB
JSON

{
"editor.rulers": [100],
"editor.formatOnSaveMode": "modifications",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
"[yaml]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.autoIndent": "advanced",
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
},
"[typescript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
},
"typescript.format.semicolons": "remove",
"typescript.preferences.quoteStyle": "single",
"[python]": {
"editor.wordBasedSuggestions": "matchingDocuments",
"editor.defaultFormatter": "ms-python.black-formatter"
},
"python.analysis.autoImportCompletions": true,
"python.testing.unittestEnabled": false,
"python.testing.autoTestDiscoverOnSaveEnabled": true,
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": ["tests"],
"emeraldwalk.runonsave": {
"commands": [
{
"match": "\\.py$",
"isAsync": false,
"cmd": "./.venv/bin/autoflake --in-place --remove-all-unused-imports \"${file}\""
},
{
"match": "\\.py$",
"isAsync": false,
"cmd": "./.venv/bin/isort \"${file}\""
}
]
}
}