From 2c7e9662dc764b011532a66c5aefa771c010dcdb Mon Sep 17 00:00:00 2001 From: sobolevn Date: Wed, 23 Nov 2022 16:03:44 +0300 Subject: [PATCH] Fix pyright --- pyrightconfig.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyrightconfig.json b/pyrightconfig.json index 9bf5e1402893..fbf09331be9d 100644 --- a/pyrightconfig.json +++ b/pyrightconfig.json @@ -5,6 +5,10 @@ "stdlib", "stubs" ], + "exclude": [ + // `cryptography` stubs are outdated and to be removed + "stubs/cryptography" + ], "typeCheckingMode": "basic", "strictListInference": true, "strictDictionaryInference": true,