mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 23:55:46 +02:00
Make mypy ignore motor
This commit is contained in:
parent
e6b4c3fd76
commit
9da0bc2c5a
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue