Update Python version used for pylint (#63895)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user