Skip to content

Commit a8f2d5b

Browse files
Fix CI with new mypy version (#732)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent a924f24 commit a8f2d5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework-stubs/authtoken/models.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ class Token(models.Model):
1515
class TokenProxy(Token):
1616
# This is how drf defines this:
1717
@property # type: ignore
18-
def pk(self) -> Any: ...
18+
def pk(self) -> Any: ... # type: ignore[override]

0 commit comments

Comments
 (0)