first commit
This commit is contained in:
14
.vscode/extensions.json
vendored
Normal file
14
.vscode/extensions.json
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"ms-python.python",
|
||||
"ms-python.black-formatter",
|
||||
"ms-python.isort",
|
||||
"ms-python.flake8",
|
||||
"ms-python.vscode-pylance",
|
||||
"esbenp.prettier-vscode",
|
||||
"redhat.vscode-xml",
|
||||
"njpwerner.autodocstring",
|
||||
"mosapride.zenkaku",
|
||||
"streetsidesoftware.code-spell-checker"
|
||||
]
|
||||
}
|
38
.vscode/settings.json
vendored
Normal file
38
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
"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
|
||||
"cSpell.ignoreWords": ["getframe", "pydantic"],
|
||||
"cSpell.words": ["mdrs", "mdrsclient", "neurodata", "Neuroinformatics", "RIKEN"],
|
||||
// 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"
|
||||
}
|
Reference in New Issue
Block a user