mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
Add discord.app_commands to Pyright configuration
This also updates the type ignore settings.
This commit is contained in:
parent
c3d175fbc3
commit
e8506f39b3
@ -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"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user