ignore overloads for now due to p3.6 errors

This commit is contained in:
collerek
2021-10-09 15:47:21 +02:00
parent a8c218cffe
commit 82b4e054a2
3 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ And what's a better name for python ORM than snakes cabinet :)
try: try:
from importlib.metadata import version # type: ignore from importlib.metadata import version # type: ignore
except ImportError: # pragma: no cover except ImportError: # pragma: no cover
from importlib_metadata import version # type: ignore from importlib_metadata import version # type: ignore
from ormar.protocols import QuerySetProtocol, RelationProtocol # noqa: I100 from ormar.protocols import QuerySetProtocol, RelationProtocol # noqa: I100
from ormar.decorators import ( # noqa: I100 from ormar.decorators import ( # noqa: I100
post_delete, post_delete,

View File

@ -182,7 +182,7 @@ def ForeignKey(to: ForwardRef, **kwargs: Any) -> "Model": # pragma: no cover
... ...
def ForeignKey( # noqa CFQ002 def ForeignKey( # type: ignore # noqa CFQ002
to: "ToType", to: "ToType",
*, *,
name: str = None, name: str = None,

View File

@ -78,7 +78,7 @@ def ManyToMany(to: ForwardRef, **kwargs: Any) -> "RelationProxy": # pragma: no
... ...
def ManyToMany( def ManyToMany( # type: ignore
to: "ToType", to: "ToType",
through: Optional["ToType"] = None, through: Optional["ToType"] = None,
*, *,