Make mypy ignore motor

pull/123/head
stijndcl 2022-07-25 21:26:43 +02:00
parent e6b4c3fd76
commit 9da0bc2c5a
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
from bson import ObjectId
from pydantic import BaseModel, Field
__all__ = []
__all__ = ["MongoBase"]
class PyObjectId(str):

View File

@ -36,7 +36,7 @@ plugins = [
"sqlalchemy.ext.mypy.plugin"
]
[[tool.mypy.overrides]]
module = ["discord.*", "feedparser.*", "markdownify.*"]
module = ["discord.*", "feedparser.*", "markdownify.*", "motor.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]