Skip to content

Commit 0083aa1

Browse files
committed
Add type annotation for get_lines
1 parent 0bf03ce commit 0083aa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytensor/link/c/cmodule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2104,7 +2104,7 @@ def compile_args(march_flags=True):
21042104
)
21052105
detect_march = False
21062106

2107-
def get_lines(cmd, parse=True):
2107+
def get_lines(cmd: list[str] | str, parse: bool = True) -> list[str] | None:
21082108
p = subprocess_Popen(
21092109
cmd,
21102110
stdout=subprocess.PIPE,

0 commit comments

Comments
 (0)