From 1aa546d07ddb3865841ed3fd56d69242994d7efa Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Mon, 30 May 2022 00:20:28 -0700 Subject: [PATCH] pyright: turn off reportPropertyTypeMismatch (#7985) --- pyrightconfig.json | 2 +- pyrightconfig.stricter.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyrightconfig.json b/pyrightconfig.json index 8bcc7aa96..6897cf7ab 100644 --- a/pyrightconfig.json +++ b/pyrightconfig.json @@ -40,7 +40,7 @@ "reportUnboundVariable": "error", "reportInvalidStubStatement": "error", "reportInvalidTypeVarUse": "error", - "reportPropertyTypeMismatch": "error", + "reportPropertyTypeMismatch": "none", "reportSelfClsParameterName": "error", "reportUnsupportedDunderAll": "error", // Incompatible overrides are out of typeshed's control as they are diff --git a/pyrightconfig.stricter.json b/pyrightconfig.stricter.json index 803af495a..3daaeb233 100644 --- a/pyrightconfig.stricter.json +++ b/pyrightconfig.stricter.json @@ -110,7 +110,7 @@ "reportUnboundVariable": "error", "reportInvalidStubStatement": "error", "reportInvalidTypeVarUse": "error", - "reportPropertyTypeMismatch": "error", + "reportPropertyTypeMismatch": "none", "reportSelfClsParameterName": "error", "reportUnsupportedDunderAll": "error", // Incompatible overrides are out of typeshed's control as they are