-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
pyrightconfig.json
25 lines (25 loc) · 895 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
{
"exclude": ["**/__pycache__", "calibre-py3", "pylib"],
"extraPaths": ["../calibre", "../calibre/src"],
"pythonVersion": "3.11",
"reportAssertAlwaysTrue": "warning",
"reportDuplicateImport": "error",
"reportFunctionMemberAccess": "warning",
"reportImplicitStringConcatenation": "warning",
"reportImportCycles": "warning",
"reportMissingImports": false,
"reportMissingTypeStubs": false,
"reportOptionalCall": "warning",
"reportOptionalIterable": "warning",
"reportOptionalMemberAccess": "warning",
"reportOptionalSubscript": "warning",
"reportPrivateUsage": "warning",
"reportUndefinedVariable": "none",
"reportUnnecessaryCast": "warning",
"reportUnnecessaryIsInstance": "warning",
"reportUnusedFunction": "error",
"reportUnusedVariable": "warning",
"strictDictionaryInference": true,
"strictListInference": true,
"strictParameterNoneValue": true
}