From 51a338e4c87a46e47c31f02468f85b4f8a59ea75 Mon Sep 17 00:00:00 2001 From: falken10vdl Date: Sat, 21 Mar 2026 10:54:42 +0100 Subject: [PATCH] Suppress reportRedeclaration in Pyright config --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 289a6c6415..13169b7c0b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,6 +28,7 @@ extend-exclude = ''' reportInvalidTypeForm = false disableBytesTypePromotions = true reportUnnecessaryTypeIgnoreComment = true +reportRedeclaration = false # Pylance doesn't respect gitignore, so we have to exclude files manually here # to avoid VS Code slowing down. # https://github.com/microsoft/pylance-release/issues/5169