Обновить Python/settings.json
This commit is contained in:
@@ -23,7 +23,19 @@
|
||||
"**/.gitlab/**": true,
|
||||
"**/.ci/**": true,
|
||||
"**/venv/**": true,
|
||||
"**/.venv/**": true,
|
||||
"**/__pycache__/**": true,
|
||||
"**/reports/**": true,
|
||||
"**/.mypy_cache/**": true,
|
||||
"**/.pytest_cache/**": true,
|
||||
"**/.coverage/**": true,
|
||||
"**/dist/**": true,
|
||||
"**/build/**": true,
|
||||
"**/.ruff_cache/**": true,
|
||||
"**/.hypothesis/**": true,
|
||||
"**/docs/_build/**": true,
|
||||
"**/target/**": true,
|
||||
"**/.cargo/**": true,
|
||||
},
|
||||
"editor.largeFileOptimizations": true,
|
||||
"git.autorefresh": false,
|
||||
@@ -74,17 +86,35 @@
|
||||
],
|
||||
"sourcecraft-code-assist.deniedCommands": [],
|
||||
"mypy.dmypyExecutable": "../.venv/bin/dmypy",
|
||||
"python.analysis.autoImportCompletions": true,
|
||||
"python.analysis.typeCheckingMode": "off",
|
||||
// ----------------------- Разные расширения (Конец)
|
||||
//----------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
// ----------------------- Настройки языков (Начало)
|
||||
"[json]": {
|
||||
"editor.defaultFormatter": "vscode.json-language-features"
|
||||
},
|
||||
"[rust]": {
|
||||
"editor.defaultFormatter": "rust-lang.rust-analyzer"
|
||||
"editor.defaultFormatter": "rust-lang.rust-analyzer",
|
||||
"editor.rulers": [
|
||||
{
|
||||
"column": 100,
|
||||
"color": "#ff9900"
|
||||
}
|
||||
],
|
||||
},
|
||||
"[python]": {
|
||||
"editor.defaultFormatter": "charliermarsh.ruff",
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll": "explicit",
|
||||
"source.organizeImports": "explicit"
|
||||
},
|
||||
"editor.rulers": [
|
||||
{
|
||||
"column": 160,
|
||||
"color": "#ff9900"
|
||||
}
|
||||
],
|
||||
},
|
||||
// ----------------------- Разные расширения (Конец)
|
||||
//----------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
"python.analysis.autoImportCompletions": true,
|
||||
"python.analysis.typeCheckingMode": "off",
|
||||
"python.terminal.activateEnvironment": true
|
||||
}
|
||||
Reference in New Issue
Block a user