Fix mypy error

pull/115/head
stijndcl 2022-06-21 18:58:33 +02:00
parent 5a76cbd2ec
commit 868cd392c3
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import traceback
from discord.ext import commands, tasks
from discord.ext import commands, tasks # type: ignore # Strange & incorrect Mypy error
import settings
from database.crud.ufora_announcements import remove_old_announcements

View File

@ -5,7 +5,6 @@ line-length = 120
plugins = [
"sqlalchemy.ext.mypy.plugin"
]
namespace_packages = true
[[tool.mypy.overrides]]
module = ["discord.*", "feedparser.*", "markdownify.*"]
ignore_missing_imports = true