Skip to content

Commit a74e2ce

Browse files
committed
VSCode Pylance strict type checking
1 parent ca9d19f commit a74e2ce

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/configure-system.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,6 +1176,8 @@ if does_bin_exist 'code' 'code-oss' 'codium' 'com.visualstudio.code'; then
11761176
# C#
11771177
set_json_property "${VSCODE_CONFIG_FILE}" '.["omnisharp.enableDecompilationSupport"]' true
11781178
set_json_property "${VSCODE_CONFIG_FILE}" '.["dotnet.automaticallyCreateSolutionInWorkspace"]' false
1179+
# Python
1180+
set_json_property "${VSCODE_CONFIG_FILE}" '.["python.analysis.typeCheckingMode"]' 'strict'
11791181

11801182
# Terminal
11811183
set_json_property "${VSCODE_CONFIG_FILE}" '.["terminal.integrated.shell.linux"]' "${SHELL}"

0 commit comments

Comments
 (0)