SERVER-124516 enable succeeding pyright rules (#54168)

GitOrigin-RevId: cac8944f171d71db62344271fbf882c54fc1b168
This commit is contained in:
Trevor Guidry 2026-05-20 16:47:07 -05:00 committed by MongoDB Bot
parent 131bdc5270
commit cc38b62241

View File

@ -267,18 +267,18 @@ pythonVersion = "3.13"
reportInvalidTypeForm = "none" reportInvalidTypeForm = "none"
reportMissingImports = "none" reportMissingImports = "none"
reportUndefinedVariable = "none" reportUndefinedVariable = "none"
reportAbstractUsage = "none" reportAbstractUsage = "error"
reportAssertTypeFailure = "none" reportAssertTypeFailure = "error"
reportInconsistentOverload = "none" reportInconsistentOverload = "error"
reportInvalidTypeArguments = "none" reportInvalidTypeArguments = "none"
reportNoOverloadImplementation = "none" reportNoOverloadImplementation = "error"
reportOptionalCall = "none" reportOptionalCall = "none"
reportOptionalContextManager = "none" reportOptionalContextManager = "error"
reportRedeclaration = "none" reportRedeclaration = "none"
reportUnboundVariable = "none" reportUnboundVariable = "none"
reportUnhashable = "none" reportUnhashable = "none"
reportUnusedCoroutine = "none" reportUnusedCoroutine = "error"
reportUnusedExcept = "none" reportUnusedExcept = "error"
# These should be set to "warning" or "error" for standard checks # These should be set to "warning" or "error" for standard checks
reportArgumentType = "none" reportArgumentType = "none"
@ -298,18 +298,18 @@ reportPrivateImportUsage = "none"
reportFunctionMemberAccess = "none" reportFunctionMemberAccess = "none"
reportIncompatibleMethodOverride = "none" reportIncompatibleMethodOverride = "none"
reportIncompatibleVariableOverride = "none" reportIncompatibleVariableOverride = "none"
reportOverlappingOverload = "none" reportOverlappingOverload = "error"
reportPossiblyUnboundVariable = "none" reportPossiblyUnboundVariable = "none"
# These are additional checks for strict mode # These are additional checks for strict mode
reportMissingTypeStubs = "none" reportMissingTypeStubs = "none"
reportAssertAlwaysTrue = "none" reportAssertAlwaysTrue = "error"
reportInvalidStringEscapeSequence = "none" reportInvalidStringEscapeSequence = "error"
reportInvalidTypeVarUse = "none" reportInvalidTypeVarUse = "error"
reportSelfClsParameterName = "none" reportSelfClsParameterName = "none"
reportUnsupportedDunderAll = "none" reportUnsupportedDunderAll = "error"
reportUnusedExpression = "none" reportUnusedExpression = "error"
reportWildcardImportFromLibrary = "none" reportWildcardImportFromLibrary = "error"
reportConstantRedefinition = "none" reportConstantRedefinition = "none"