Skip to content

Commit

Permalink
add python vscode plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
capital-G committed Sep 4, 2023
1 parent 93f231d commit ce7f46e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ repos:
- id: check-added-large-files
args: ['--maxkb=1024']
- id: check-json
exclude: caster-editor/tsconfig.json
exclude: |
(?x)^(
caster-editor/tsconfig.json|
.vscode/settings.json|
.vscode/extensions.json
)$
- id: check-merge-conflict
- repo: https://github.com/psf/black
rev: 22.3.0
Expand Down
4 changes: 3 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"recommendations": [
"Vue.volar",
"Vue.vscode-typescript-vue-plugin"
"Vue.vscode-typescript-vue-plugin",
"ms-python.mypy-type-checker",
"ms-python.python",
]
}
8 changes: 6 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"python.analysis.typeCheckingMode": "basic",
// "python.analysis.typeCheckingMode": "basic",
"mypy-type-checker.args": [
"--config-file=${workspaceFolder}/caster-back/setup.cfg"
],
"cSpell.words": [
"Gencaster",
"pythonosc",
Expand All @@ -14,5 +17,6 @@
"javascript",
"javascriptreact",
"vue"
]
],
"python.analysis.typeCheckingMode": "basic"
}

0 comments on commit ce7f46e

Please sign in to comment.