fixed type errors when pylance type checking mode is strict.
This commit is contained in:
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@ -22,7 +22,7 @@
|
||||
"prettier.singleQuote": true,
|
||||
"prettier.tabWidth": 4,
|
||||
// Extensions - Pylance
|
||||
"python.analysis.typeCheckingMode": "basic",
|
||||
"python.analysis.typeCheckingMode": "strict",
|
||||
"python.analysis.exclude": ["api/migrations/[0-9]*.py"],
|
||||
// Extensions - Python:black
|
||||
"python.formatting.blackArgs": ["--line-length=120"],
|
||||
|
Reference in New Issue
Block a user