mirror of https://github.com/zulip/zulip.git
mypy: Reenable explicit-override for models.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
09f4f787b8
commit
c03839f42f
|
@ -1,6 +1,3 @@
|
||||||
# https://github.com/typeddjango/django-stubs/issues/1698
|
|
||||||
# mypy: disable-error-code="explicit-override"
|
|
||||||
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
from django.db import models
|
from django.db import models
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
# https://github.com/typeddjango/django-stubs/issues/1698
|
|
||||||
# mypy: disable-error-code="explicit-override"
|
|
||||||
|
|
||||||
import time
|
import time
|
||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
# https://github.com/typeddjango/django-stubs/issues/1698
|
|
||||||
# mypy: disable-error-code="explicit-override"
|
|
||||||
|
|
||||||
|
|
||||||
from django.db import models
|
from django.db import models
|
||||||
from django.db.models import CASCADE
|
from django.db.models import CASCADE
|
||||||
from django.utils.timezone import now as timezone_now
|
from django.utils.timezone import now as timezone_now
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
# https://github.com/typeddjango/django-stubs/issues/1698
|
|
||||||
# mypy: disable-error-code="explicit-override"
|
|
||||||
|
|
||||||
from django.db import models
|
from django.db import models
|
||||||
from django.db.models import CASCADE
|
from django.db.models import CASCADE
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
# https://github.com/typeddjango/django-stubs/issues/1698
|
|
||||||
# mypy: disable-error-code="explicit-override"
|
|
||||||
|
|
||||||
from django.core.serializers.json import DjangoJSONEncoder
|
from django.core.serializers.json import DjangoJSONEncoder
|
||||||
from django.db import models
|
from django.db import models
|
||||||
from django.db.models import CASCADE, Q
|
from django.db.models import CASCADE, Q
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
# https://github.com/typeddjango/django-stubs/issues/1698
|
|
||||||
# mypy: disable-error-code="explicit-override"
|
|
||||||
|
|
||||||
from typing import TypedDict
|
from typing import TypedDict
|
||||||
|
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
# https://github.com/typeddjango/django-stubs/issues/1698
|
|
||||||
# mypy: disable-error-code="explicit-override"
|
|
||||||
|
|
||||||
from email.headerregistry import Address
|
from email.headerregistry import Address
|
||||||
from typing import TYPE_CHECKING, Any, Optional
|
from typing import TYPE_CHECKING, Any, Optional
|
||||||
from uuid import uuid4
|
from uuid import uuid4
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
# https://github.com/typeddjango/django-stubs/issues/1698
|
|
||||||
# mypy: disable-error-code="explicit-override"
|
|
||||||
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue