Fix typing

This commit is contained in:
awsr
2026-04-28 01:35:25 -07:00
parent aff3bf415a
commit 19bc712ecf
+1 -1
View File
@@ -244,7 +244,7 @@ def cleanup_broken_packages():
pass
def pip(arg: str, ignore: bool = False, quiet: bool = True, *, uv = True, constraints = True) -> tuple[subprocess.CompletedProcess, str]:
def pip(arg: str, ignore: bool = False, quiet: bool = True, *, uv = True, constraints = True) -> tuple[subprocess.CompletedProcess | None, str]:
t_start = time.time()
originalArg = arg
arg = arg.replace('>=', '==').strip()