diff --git a/analytics/models.py b/analytics/models.py index 2ebe57338a..7a322a47a3 100644 --- a/analytics/models.py +++ b/analytics/models.py @@ -1,6 +1,3 @@ -# https://github.com/typeddjango/django-stubs/issues/1698 -# mypy: disable-error-code="explicit-override" - from datetime import datetime from django.db import models diff --git a/zerver/models/messages.py b/zerver/models/messages.py index 65cc5ea9b3..f511eb7d1e 100644 --- a/zerver/models/messages.py +++ b/zerver/models/messages.py @@ -1,6 +1,3 @@ -# https://github.com/typeddjango/django-stubs/issues/1698 -# mypy: disable-error-code="explicit-override" - import time from datetime import timedelta from typing import Any diff --git a/zerver/models/presence.py b/zerver/models/presence.py index 63f2923875..ff419b0bc2 100644 --- a/zerver/models/presence.py +++ b/zerver/models/presence.py @@ -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.models import CASCADE from django.utils.timezone import now as timezone_now diff --git a/zerver/models/push_notifications.py b/zerver/models/push_notifications.py index a21376ad6b..0aeeb88759 100644 --- a/zerver/models/push_notifications.py +++ b/zerver/models/push_notifications.py @@ -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.models import CASCADE diff --git a/zerver/models/realm_audit_logs.py b/zerver/models/realm_audit_logs.py index 11464c2e5e..e00de7ed38 100644 --- a/zerver/models/realm_audit_logs.py +++ b/zerver/models/realm_audit_logs.py @@ -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.db import models from django.db.models import CASCADE, Q diff --git a/zerver/models/scheduled_jobs.py b/zerver/models/scheduled_jobs.py index 97e8c2b0ce..dc90d82aca 100644 --- a/zerver/models/scheduled_jobs.py +++ b/zerver/models/scheduled_jobs.py @@ -1,6 +1,3 @@ -# https://github.com/typeddjango/django-stubs/issues/1698 -# mypy: disable-error-code="explicit-override" - from typing import TypedDict from django.conf import settings diff --git a/zerver/models/users.py b/zerver/models/users.py index 73bd0a9209..72d4fe27c7 100644 --- a/zerver/models/users.py +++ b/zerver/models/users.py @@ -1,6 +1,3 @@ -# https://github.com/typeddjango/django-stubs/issues/1698 -# mypy: disable-error-code="explicit-override" - from email.headerregistry import Address from typing import TYPE_CHECKING, Any, Optional from uuid import uuid4 diff --git a/zilencer/models.py b/zilencer/models.py index 11740c3d7e..c2c136c6b1 100644 --- a/zilencer/models.py +++ b/zilencer/models.py @@ -1,6 +1,3 @@ -# https://github.com/typeddjango/django-stubs/issues/1698 -# mypy: disable-error-code="explicit-override" - from dataclasses import dataclass from datetime import datetime, timedelta