mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 06:49:13 +08:00
pyright entire directory by default
This commit is contained in:
1 parent
86ea6de059
commit
c1e8ef5c2d
1 file changed
+5
-10
Vendored
+5
-10
@@ -32,17 +32,11 @@
|
|||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"python.envFile": "${workspaceFolder}/.env",
|
"python.envFile": "${workspaceFolder}/.env",
|
||||||
"python.formatting.provider": "black",
|
"python.formatting.provider": "black",
|
||||||
"python.formatting.blackArgs": [
|
"python.formatting.blackArgs": ["--line-length=120"],
|
||||||
"--line-length=120"
|
|
||||||
],
|
|
||||||
"python.linting.pylintEnabled": true,
|
"python.linting.pylintEnabled": true,
|
||||||
"python.linting.flake8Enabled": false,
|
"python.linting.flake8Enabled": false,
|
||||||
"python.linting.enabled": true,
|
"python.linting.enabled": true,
|
||||||
"python.sortImports.args": [
|
"python.sortImports.args": ["--src=${workspaceFolder}", "--profile", "black"],
|
||||||
"--src=${workspaceFolder}",
|
|
||||||
"--profile",
|
|
||||||
"black"
|
|
||||||
],
|
|
||||||
"python.testing.unittestEnabled": false,
|
"python.testing.unittestEnabled": false,
|
||||||
"python.testing.pytestEnabled": true,
|
"python.testing.pytestEnabled": true,
|
||||||
"python.linting.ignorePatterns": [
|
"python.linting.ignorePatterns": [
|
||||||
@@ -126,5 +120,6 @@
|
|||||||
"__atomic": "cpp",
|
"__atomic": "cpp",
|
||||||
"__node_handle": "cpp"
|
"__node_handle": "cpp"
|
||||||
},
|
},
|
||||||
"python.analysis.typeCheckingMode": "basic"
|
"python.analysis.typeCheckingMode": "basic",
|
||||||
}
|
"python.analysis.diagnosticMode": "workspace"
|
||||||
|
}
|
||||||
Reference in new issue
Block a user