-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyrightconfig.json
35 lines (32 loc) · 1014 Bytes
/
pyrightconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// pyrightconfig.json
{
"include": ["py_launch_blueprint", "tests"],
"exclude": ["**/node_modules", "**/__pycache__"],
"defineConstant": {
"DEBUG": true
},
// Type checking mode
"typeCheckingMode": "strict",
// Python version
"pythonVersion": "3.10",
// Analysis settings
"useLibraryCodeForTypes": true,
"reportMissingImports": true,
"reportMissingTypeStubs": true,
"reportUnknownParameterType": true,
"reportUnknownArgumentType": true,
"reportUnknownLambdaType": true,
"reportUnknownVariableType": true,
"reportUnknownMemberType": true,
"reportMissingTypeArgument": true,
"reportInvalidTypeVarUse": true,
"reportUnnecessaryIsInstance": true,
"reportUnnecessaryCast": true,
"reportUnnecessaryComparison": true,
"reportDuplicateImport": true,
"reportPrivateUsage": "warning",
"reportUnusedImport": true,
"reportUnusedVariable": true,
"reportUnusedFunction": true,
"reportUnusedClass": true
}