switch from mypy to ty (#36961)

This commit is contained in:
Adeeb Shihadeh
2025-12-28 10:42:49 -08:00
committed by GitHub
parent 85cdb2ed9a
commit ea01a53711
37 changed files with 160 additions and 162 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ class ManagerProcess(ABC):
self.stop(sig=signal.SIGKILL)
self.start()
def stop(self, retry: bool = True, block: bool = True, sig: signal.Signals = None) -> int | None:
def stop(self, retry: bool = True, block: bool = True, sig: signal.Signals | None = None) -> int | None:
if self.proc is None:
return None