mirror of https://github.com/stijndcl/didier
Make mypy ignore motor
parent
e6b4c3fd76
commit
9da0bc2c5a
|
@ -1,7 +1,7 @@
|
|||
from bson import ObjectId
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
__all__ = []
|
||||
__all__ = ["MongoBase"]
|
||||
|
||||
|
||||
class PyObjectId(str):
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue