2023-05-01 20:00:32 +09:00
|
|
|
{
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
"editor.codeActionsOnSave": {
|
|
|
|
"source.organizeImports": true
|
|
|
|
},
|
|
|
|
"[python]": {
|
|
|
|
"editor.defaultFormatter": "ms-python.black-formatter"
|
|
|
|
},
|
|
|
|
"[xml]": {
|
|
|
|
"editor.defaultFormatter": "redhat.vscode-xml"
|
|
|
|
},
|
|
|
|
"[jsonc]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
// Extensions - Code Spell Checker
|
2023-05-11 19:01:07 +09:00
|
|
|
"cSpell.ignoreWords": ["getframe", "pydantic", "UNLCK"],
|
|
|
|
"cSpell.words": ["chacl", "mdrs", "mdrsclient", "neurodata", "Neuroinformatics", "RIKEN"],
|
2023-05-01 20:00:32 +09:00
|
|
|
// Extensions - isort
|
|
|
|
"isort.args": ["--profile=black"],
|
|
|
|
// Extensions - Prettier
|
|
|
|
"prettier.printWidth": 120,
|
|
|
|
"prettier.singleQuote": true,
|
|
|
|
"prettier.tabWidth": 4,
|
|
|
|
// Extensions - Pylance
|
|
|
|
"python.analysis.typeCheckingMode": "basic",
|
|
|
|
"python.analysis.exclude": ["api/migrations/[0-9]*.py"],
|
|
|
|
// Extensions - Python:black
|
|
|
|
"python.formatting.blackArgs": ["--line-length=120"],
|
|
|
|
"python.formatting.provider": "black",
|
|
|
|
// Extensions - Python:Flake8
|
|
|
|
"python.linting.enabled": true,
|
|
|
|
"python.linting.flake8Enabled": true,
|
|
|
|
"python.linting.flake8Args": ["--max-line-length=120"],
|
|
|
|
"python.linting.ignorePatterns": ["**/site-packages/**/*.py", ".vscode/*.py"],
|
|
|
|
"python.linting.lintOnSave": true,
|
|
|
|
// Extensions - Python Docstring Generator configuration
|
|
|
|
"autoDocstring.docstringFormat": "google"
|
|
|
|
}
|