Browse Source

Add discord.app_commands to Pyright configuration

This also updates the type ignore settings.
pull/7587/head
Rapptz 3 years ago
parent
commit
e8506f39b3
  1. 2
      pyproject.toml

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

Loading…
Cancel
Save