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] [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…
Cancel
Save