mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-13 15:31:55 +08:00
Update mypy to 0.981 (#1167)
* Update mypy to 0.981 * Fix plugin API * Fix scripts * Fix scripts * Fix plugin
This commit is contained in:
@@ -17,7 +17,7 @@ class ProgressPrinter(RemoteProgress):
|
||||
print(self._cur_line)
|
||||
|
||||
|
||||
def checkout_django_branch(django_version: str, commit_sha: Optional[str]) -> Repo:
|
||||
def checkout_django_branch(django_version: str, commit_sha: Optional[str]) -> None:
|
||||
branch = f"stable/{django_version}.x"
|
||||
if DJANGO_SOURCE_DIRECTORY.exists():
|
||||
shutil.rmtree(DJANGO_SOURCE_DIRECTORY)
|
||||
|
||||
Reference in New Issue
Block a user