mirror of https://github.com/stijndcl/didier
Fix mypy error
parent
5a76cbd2ec
commit
868cd392c3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue