Update Python version used for pylint (#63895)

This commit is contained in:
Marc Mueller 2022-01-11 13:41:57 +01:00 committed by GitHub
parent 277c12cf64
commit f3bc9fc740
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 25 additions and 30 deletions

View file

@ -8,10 +8,7 @@ from typing import Any
# mypy: disallow-any-generics
def kill_subprocess(
# pylint: disable=unsubscriptable-object # https://github.com/PyCQA/pylint/issues/4369
process: subprocess.Popen[Any],
) -> None:
def kill_subprocess(process: subprocess.Popen[Any]) -> None:
"""Force kill a subprocess and wait for it to exit."""
process.kill()
process.communicate()