Skip to content

Commit cbabea7

Browse files
committed
placate the type checker
1 parent 5665f00 commit cbabea7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

release.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import subprocess
2020
import sys
2121
import tempfile
22-
from collections.abc import Generator
22+
from collections.abc import Generator, Sequence
2323
from contextlib import contextmanager
2424
from dataclasses import dataclass
2525
from pathlib import Path
@@ -256,7 +256,7 @@ def error(*msgs: str) -> None:
256256

257257

258258
def run_cmd(
259-
cmd: list[str] | str, silent: bool = False, shell: bool = False, **kwargs: Any
259+
cmd: Sequence[str] | str, silent: bool = False, shell: bool = False, **kwargs: Any
260260
) -> None:
261261
if shell:
262262
cmd = SPACE.join(cmd)

0 commit comments

Comments
 (0)