Skip to content

Commit 4a3fe65

Browse files
authored
Update mypy to 1.16 (#781)
1 parent 089f348 commit 4a3fe65

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

scripts/stubtest/allowlist.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ rest_framework.serializers.DateField.__init__
2626
rest_framework.serializers.DateTimeField.__init__
2727
rest_framework.serializers.TimeField.__init__
2828

29-
# Ignore @cached_property error "cannot reconcile @property on stub with runtime object"
30-
rest_framework.serializers.Serializer.fields
31-
3229
# Generated objects:
3330
rest_framework.authtoken.models.Token@AnnotatedWith
3431
rest_framework.authtoken.models.TokenProxy@AnnotatedWith

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def find_stub_files(name: str) -> list[str]:
2828

2929
# Keep compatible-mypy major.minor version pinned to what latest django-stubs release uses.
3030
extras_require = {
31-
"compatible-mypy": ["mypy>=1.13,<1.16", "django-stubs[compatible-mypy]"],
31+
"compatible-mypy": ["mypy>=1.13,<1.17", "django-stubs[compatible-mypy]"],
3232
"coreapi": ["coreapi>=2.0.0"],
3333
"markdown": ["types-Markdown>=0.1.5"],
3434
}

0 commit comments

Comments
 (0)