From e8506f39b3cb286c675dee175c87f71bf66bf70b Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 7 Mar 2022 17:46:38 -0500 Subject: [PATCH] Add discord.app_commands to Pyright configuration This also updates the type ignore settings. --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index db2927f26..ea920e565 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,6 +28,7 @@ line_length = 125 [tool.pyright] include = [ "discord", + "discord/app_commands", "discord/types", "discord/ui", "discord/ext", @@ -40,6 +41,7 @@ exclude = [ "dist", "docs", ] +reportUnnecessaryTypeIgnoreComment = true pythonVersion = "3.8" typeCheckingMode = "basic"