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