From 868cd392c34d9031edbfc055d4b18c612e1ef121 Mon Sep 17 00:00:00 2001 From: stijndcl Date: Tue, 21 Jun 2022 18:58:33 +0200 Subject: [PATCH] Fix mypy error --- didier/cogs/tasks.py | 2 +- pyproject.toml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/didier/cogs/tasks.py b/didier/cogs/tasks.py index 8b366fa..29e9530 100644 --- a/didier/cogs/tasks.py +++ b/didier/cogs/tasks.py @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 5ec9b79..bfc1ced 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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