Skip to content

Commit 63cc521

Browse files
committed
remove type checking
1 parent b1cd8dc commit 63cc521

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def __init__(self, description, command, timeout=None, **kwargs):
128128
self.timeout = timeout
129129
self.__dict__.update(kwargs)
130130

131-
def execute(self, fp) -> tuple[int, str]:
131+
def execute(self, fp):
132132
"""Run the task.
133133
134134
Returns (exit_code, error_message). exit_code is 0 on success.
@@ -229,7 +229,7 @@ def __init__(self, description, callable, timeout=None, **kwargs):
229229
)
230230
self.__dict__.update(kwargs)
231231

232-
def execute(self, fp) -> tuple[int, str]:
232+
def execute(self, fp):
233233
"""Run the task.
234234
235235
Returns (exit_code, error_message). exit_code is 0 on success.

0 commit comments

Comments
 (0)