Обновить Python/settings.json

This commit is contained in:
2025-10-28 07:08:46 +00:00
parent b60efe3971
commit b9ebac83ad

View File

@@ -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
}