mirror of https://github.com/stijndcl/didier
Make mypy ignore motor
parent
e6b4c3fd76
commit
9da0bc2c5a
|
@ -1,7 +1,7 @@
|
||||||
from bson import ObjectId
|
from bson import ObjectId
|
||||||
from pydantic import BaseModel, Field
|
from pydantic import BaseModel, Field
|
||||||
|
|
||||||
__all__ = []
|
__all__ = ["MongoBase"]
|
||||||
|
|
||||||
|
|
||||||
class PyObjectId(str):
|
class PyObjectId(str):
|
||||||
|
|
|
@ -36,7 +36,7 @@ plugins = [
|
||||||
"sqlalchemy.ext.mypy.plugin"
|
"sqlalchemy.ext.mypy.plugin"
|
||||||
]
|
]
|
||||||
[[tool.mypy.overrides]]
|
[[tool.mypy.overrides]]
|
||||||
module = ["discord.*", "feedparser.*", "markdownify.*"]
|
module = ["discord.*", "feedparser.*", "markdownify.*", "motor.*"]
|
||||||
ignore_missing_imports = true
|
ignore_missing_imports = true
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
|
|
Loading…
Reference in New Issue