Skip to content

Commit d7ffc9d

Browse files
committed
Add pyrightconfig.json
Make linting more bearable to look at
1 parent 69e8409 commit d7ffc9d

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

pyrightconfig.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"include": ["algoperf", "algorithms", "submission_runner.py"],
3+
"exclude": ["**/node_modules", "**/__pycache__", "build", "dist"],
4+
"pythonVersion": "3.11",
5+
"typeCheckingMode": "basic",
6+
"reportMissingImports": "warning",
7+
"reportMissingTypeStubs": false,
8+
"reportUnknownParameterType": false,
9+
"reportUnknownArgumentType": false,
10+
"reportUnknownLambdaType": false,
11+
"reportUnknownVariableType": false,
12+
"reportUnknownMemberType": false,
13+
"reportUnknownReturnType": false,
14+
"reportArgumentType": false,
15+
"reportReturnType": false,
16+
"reportAssignmentType": false,
17+
"reportCallIssue": false,
18+
"reportGeneralTypeIssues": "warning",
19+
"reportOptionalMemberAccess": "warning",
20+
"reportUnusedImport": "warning",
21+
"reportUnusedVariable": "warning",
22+
"reportUndefinedVariable": "error"
23+
}

0 commit comments

Comments
 (0)