From 80a9df8f52da44ecb3bf42c49d2e902aa4d67f10 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 10 Apr 2026 18:01:16 +0500 Subject: [PATCH] Ignore pyright warnings for bpy stubs See https://github.com/nutti/fake-bpy-module/discussions/440 --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 13169b7c0b..235d3f6e6a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,8 @@ reportInvalidTypeForm = false disableBytesTypePromotions = true reportUnnecessaryTypeIgnoreComment = true reportRedeclaration = false +# Ignore warnings from bpy stubs missing actual source files. +reportMissingModuleSource = 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