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]
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"