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:
Nikita Sobolev
2022-09-27 11:55:36 +03:00
committed by GitHub
parent bba51ce67d
commit 93fa1d2e19
11 changed files with 17 additions and 14 deletions

View File

@@ -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)