mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-12 23:16:31 +08:00
Add missing type for setup_databases (#919)
* Add missing type for setup_databases `django.test.utils` was seemingly missing the type for `setup_databases`. This change resolves my issue locally. The type was copied directly from `django.test.runner`. * Fix typecheck_tests runner Co-authored-by: Xavier Francisco <xavier.n.francisco@gmail.com>
This commit is contained in:
@@ -28,4 +28,4 @@ def checkout_django_branch(django_version: str, commit_sha: Optional[str]) -> Re
|
||||
)
|
||||
if commit_sha and repo.head.commit.hexsha != commit_sha:
|
||||
repo.remote("origin").fetch(branch, progress=ProgressPrinter(), depth=100)
|
||||
repo.git.checkout(commit_sha)
|
||||
repo.git.checkout(branch)
|
||||
|
||||
Reference in New Issue
Block a user