Skip to content

Commit dcbfce3

Browse files
committed
tooling: Add typings to extraPaths for stdlib stub resolution.
1 parent 5844c7a commit dcbfce3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"python.languageServer": "Pylance",
33
"python.analysis.typeCheckingMode": "basic",
4-
"python.analysis.extraPaths": ["lib"],
4+
"python.analysis.extraPaths": ["lib", "typings"],
55
"python.analysis.stubPath": "typings",
66
"python.analysis.diagnosticSeverityOverrides": {
77
"reportMissingModuleSource": "none",

pyrightconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"pythonVersion": "3.7",
33
"pythonPlatform": "All",
44
"typeCheckingMode": "basic",
5-
"extraPaths": ["lib"],
5+
"extraPaths": ["lib", "typings"],
66
"stubPath": "typings",
77
"exclude": [
88
".build",

0 commit comments

Comments
 (0)