Skip to content

Commit

Permalink
vscode settings (start using pyright/pylance for type checking)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Jun 15, 2022
1 parent 9943607 commit 7d12d01
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"cwd": "/Users/lafp/git/performance/locust",
"args": [
"-f",
"racing.py",
"demo.py",
"-L",
"DEBUG",
],
Expand Down
9 changes: 8 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,12 @@
"files.watcherExclude": {
"**/target": true
},
"editor.formatOnSave": true
"editor.formatOnSave": true,
"python.languageServer": "Pylance",
"python.analysis.typeCheckingMode": "basic",
"python.analysis.diagnosticSeverityOverrides": {
"reportOptionalSubscript": "none",
"reportOptionalMemberAccess": "none",
"reportPrivateImportUsage": "none"
},
}

0 comments on commit 7d12d01

Please sign in to comment.