From f4197103815fba6546b4a3a7e5cccdd8b5a8f3be Mon Sep 17 00:00:00 2001 From: Blake Naccarato Date: Fri, 13 May 2022 11:10:55 -0700 Subject: [PATCH] Fix typo `# pylance: ignore` > `# pyright: ignore` (#4072) In #3972, `# pyright: ignore` was added in multiple places in the docs, and `# pylance: ignore` only once. I believe it's a typo, as AFAIK such a typing ignore comment flag doesn't exist. --- docs/visual_studio_code.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/visual_studio_code.md b/docs/visual_studio_code.md index 6439a5d..7ec37b5 100644 --- a/docs/visual_studio_code.md +++ b/docs/visual_studio_code.md @@ -269,7 +269,7 @@ reasons behind this, and why we can't avoid the problem. There are two potential workarounds: -* use an ignore comment (`# pylance: ignore`) when initialising `settings` +* use an ignore comment (`# pyright: ignore`) when initialising `settings` * or, use `settings.parse_obj({})` to avoid the warning ## Adding a default with `Field`