disable automatic mypy invocation in VS Code
The default settings don't understand our folder layout (leading to errors), and place cache files in the root folder. While there is a setting to provide extra arguments to mypy which we could use to address the former, paths like ~/.cache do not appear to be supported. Easier to just rely on pyright for in-IDE linting, and invoke mypy either via bazel, or via tools/mypy-watch + remove unused dist/ exclude
This commit is contained in:
parent
d29a0beb40
commit
9bac5b4cb6
9
.vscode/settings.json
vendored
9
.vscode/settings.json
vendored
@ -4,21 +4,20 @@
|
||||
"**/.git/objects/**": true,
|
||||
"**/.git/subtree-cache/**": true,
|
||||
"**/node_modules/*/**": true,
|
||||
".bazel/**": true,
|
||||
"dist/**": true
|
||||
".bazel/**": true
|
||||
},
|
||||
"python.analysis.extraPaths": ["./pylib"],
|
||||
"python.formatting.provider": "black",
|
||||
"python.linting.mypyEnabled": false,
|
||||
"rust-analyzer.cargo.runBuildScripts": true,
|
||||
"rust-analyzer.checkOnSave.allTargets": false,
|
||||
"rust-analyzer.files.excludeDirs": [".bazel", "node_modules", "dist"],
|
||||
"rust-analyzer.files.excludeDirs": [".bazel", "node_modules"],
|
||||
"rust-analyzer.procMacro.enable": true,
|
||||
// this formats 'use' blocks in a nicer way, but requires you to run
|
||||
// 'rustup install nightly'.
|
||||
"rust-analyzer.rustfmt.extraArgs": ["+nightly"],
|
||||
"search.exclude": {
|
||||
"**/node_modules": true,
|
||||
".bazel/**": true,
|
||||
"dist/**": true
|
||||
".bazel/**": true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user