remove reference to mypy.ini in github workflow, fix some code smells

This commit is contained in:
collerek
2021-10-08 20:30:27 +02:00
parent b637fc0774
commit bb2e0d1ddf
4 changed files with 19 additions and 18 deletions

View File

@ -43,7 +43,7 @@ class QuerysetProxy(Generic[T]):
type_: "RelationType",
qryset: "QuerySet[T]" = None,
) -> None:
self.relation: Relation = relation
self.relation: "Relation" = relation
self._queryset: Optional["QuerySet[T]"] = qryset
self.type_: "RelationType" = type_
self._owner: Union[CallableProxyType, "Model"] = self.relation.manager.owner