Skip to content

Commit 5229bdc

Browse files
committed
Make mypy happy
1 parent 4c1d4ac commit 5229bdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

{{ cookiecutter.name }}/src/app/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __str__(self) -> str:
2828
def get_contenttype(cls) -> ContentType:
2929
return ContentType.objects.get_for_model(cls)
3030

31-
def update(self, **kwargs: "Any") -> "models.Model": # type: ignore[misc]
31+
def update(self, **kwargs: "Any") -> "models.Model":
3232
for key, value in kwargs.items():
3333
setattr(self, key, value)
3434

0 commit comments

Comments
 (0)