Skip to content

Commit

Permalink
Upgrade django-stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz committed Oct 23, 2023
1 parent 75450f8 commit ee942f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ repos:
hooks:
- id: mypy
additional_dependencies:
- django-stubs==4.2.3
- django-stubs==4.2.6
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ def write_migration_files(
) -> None:
# django-stubs awaiting new signature:
# https://github.com/typeddjango/django-stubs/pull/1609
super().write_migration_files( # type: ignore[call-arg]
super().write_migration_files(
changes,
update_previous_migration_paths,
)
_post_write_migration_files(self.dry_run, changes)

else:

def write_migration_files( # type: ignore[misc]
def write_migration_files( # type: ignore[misc,override]
self,
changes: dict[str, list[Migration]],
) -> None:
Expand Down

0 comments on commit ee942f8

Please sign in to comment.