Обновить 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, "**/.gitlab/**": true,
"**/.ci/**": true, "**/.ci/**": true,
"**/venv/**": true, "**/venv/**": true,
"**/.venv/**": true,
"**/__pycache__/**": 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, "editor.largeFileOptimizations": true,
"git.autorefresh": false, "git.autorefresh": false,
@@ -74,17 +86,35 @@
], ],
"sourcecraft-code-assist.deniedCommands": [], "sourcecraft-code-assist.deniedCommands": [],
"mypy.dmypyExecutable": "../.venv/bin/dmypy", "mypy.dmypyExecutable": "../.venv/bin/dmypy",
"python.analysis.autoImportCompletions": true, // ----------------------- Разные расширения (Конец)
"python.analysis.typeCheckingMode": "off", //----------------------------------------------------------------------------------------------------------------------------------------------------------
// ----------------------- Настройки языков (Начало)
"[json]": { "[json]": {
"editor.defaultFormatter": "vscode.json-language-features" "editor.defaultFormatter": "vscode.json-language-features"
}, },
"[rust]": { "[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer" "editor.defaultFormatter": "rust-lang.rust-analyzer",
"editor.rulers": [
{
"column": 100,
"color": "#ff9900"
}
],
}, },
"[python]": { "[python]": {
"editor.defaultFormatter": "charliermarsh.ruff", "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
} }