settings.json•1.83 kB
{
"python.defaultInterpreterPath": "./venv/bin/python",
"python.terminal.activateEnvironment": true,
"[python]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.ruff": "explicit",
"source.organizeImports.ruff": "explicit"
},
"editor.defaultFormatter": "charliermarsh.ruff"
},
"editor.rulers": [
120
],
"editor.wordWrap": "off",
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"ruff.enable": true,
"ruff.lint.enable": true,
"ruff.format.enable": true,
"ruff.organizeImports": true,
"ruff.fixAll": true,
"ruff.codeAction.fixViolation": {
"enable": true
},
"ruff.codeAction.disableRuleComment": {
"enable": true
},
"python.linting.enabled": true,
"python.linting.mypyEnabled": true,
"python.linting.mypyArgs": [
"--config-file=pyproject.toml"
],
"files.exclude": {
"**/__pycache__": true,
"**/*.pyc": true,
".mypy_cache": true,
".pytest_cache": true,
".ruff_cache": true,
"build": true,
"dist": true,
"*.egg-info": true,
".venv": false
},
"search.exclude": {
"**/__pycache__": true,
"**/*.pyc": true,
".mypy_cache": true,
".pytest_cache": true,
".ruff_cache": true,
"build": true,
"dist": true,
"*.egg-info": true,
"uv.lock": true
},
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"python.testing.pytestArgs": [
"tests"
],
"editor.trimAutoWhitespace": true,
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"git.ignoreLimitWarning": true,
"files.associations": {
"*.toml": "toml",
"pyproject.toml": "toml",
".clinerules": "plaintext"
},
"cSpell.words": [
"ableton"
]
}