Skip to content

Commit

Permalink
use pyright strictly type check just the source code (otherwise basic)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert committed Oct 5, 2021
1 parent 348fa17 commit fd644dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"editor.tabSize": 4,
"python.analysis.typeCheckingMode": "strict",
"python.formatting.provider": "black",
"editor.formatOnSave": true,
"files.exclude": {
Expand Down
8 changes: 8 additions & 0 deletions pyrightconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"typeCheckingMode": "basic",
"strict": [
"htmltools/",
"examples/",
],
"reportImportCycles": false
}

0 comments on commit fd644dd

Please sign in to comment.