Skip to content

Commit

Permalink
Update pyrightconfig to Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoguen committed Oct 14, 2024
1 parent d3199f6 commit d19abb3
Showing 1 changed file with 23 additions and 29 deletions.
52 changes: 23 additions & 29 deletions pyrightconfig.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,25 @@
{
"exclude": [
"**/__pycache__",
"calibre-py3",
"pylib"
],
"extraPaths": [
"../calibre/src"
],
"pythonVersion": "3.8",
"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
"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
}

0 comments on commit d19abb3

Please sign in to comment.