Skip to content

Commit f3b6f20

Browse files
Enable typechecking in vscode (#1136)
* Enable typechecking by default * Makefile: Add install command for compatibility with recent pyright in venv setup. * [LLM] Makefile: Remove lines installing project in editable mode with pip.
1 parent 59eb6c4 commit f3b6f20

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@
1616
"python.testing.pytestEnabled": true,
1717

1818
"python.terminal.activateEnvironment": true,
19-
"python.defaultInterpreterPath": "~/venv/bin/python3"
19+
"python.defaultInterpreterPath": "~/venv/bin/python3",
20+
"python.analysis.diagnosticMode": "workspace",
21+
"python.analysis.typeCheckingMode": "basic",
2022
}

0 commit comments

Comments
 (0)