mypy: Reenable explicit-override for models.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-08-01 17:08:58 -07:00 committed by Anders Kaseorg
parent 09f4f787b8
commit c03839f42f
8 changed files with 0 additions and 25 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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