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

@@ -68,7 +68,7 @@ if __name__ == "__main__":
django_version = parser.parse_args().django_version
subprocess.check_call([sys.executable, "-m", "pip", "install", f"Django=={django_version}.*"])
commit_sha = DJANGO_COMMIT_REFS[django_version]
repo = checkout_django_branch(django_version, commit_sha)
checkout_django_branch(django_version, commit_sha)
mypy_config_file = (PROJECT_DIRECTORY / "mypy.ini").absolute()
mypy_cache_dir = PROJECT_DIRECTORY / ".mypy_cache"
tests_root = DJANGO_SOURCE_DIRECTORY / "tests"