Add discord.app_commands to Pyright configuration

This also updates the type ignore settings.
This commit is contained in:
Rapptz 2022-03-07 17:46:38 -05:00
parent c3d175fbc3
commit e8506f39b3

View File

@ -28,6 +28,7 @@ line_length = 125
[tool.pyright] [tool.pyright]
include = [ include = [
"discord", "discord",
"discord/app_commands",
"discord/types", "discord/types",
"discord/ui", "discord/ui",
"discord/ext", "discord/ext",
@ -40,6 +41,7 @@ exclude = [
"dist", "dist",
"docs", "docs",
] ]
reportUnnecessaryTypeIgnoreComment = true
pythonVersion = "3.8" pythonVersion = "3.8"
typeCheckingMode = "basic" typeCheckingMode = "basic"