Skip to content

Commit b570ffa

Browse files
committed
fix mypy
1 parent 2c92b76 commit b570ffa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

executorlib/task_scheduler/file/task_scheduler.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ def create_file_executor(
114114
check_nested_flux_executor(nested_flux_executor=flux_executor_nesting)
115115
check_flux_log_files(flux_log_files=flux_log_files)
116116
if terminate_tasks_on_shutdown and execute_function != execute_in_subprocess:
117-
terminate_function = terminate_with_pysqa
117+
terminate_function = terminate_with_pysqa # type: ignore
118118
elif terminate_tasks_on_shutdown and execute_function == execute_in_subprocess:
119-
terminate_function = terminate_subprocess
119+
terminate_function = terminate_subprocess # type: ignore
120120
else:
121-
terminate_function = None
121+
terminate_function = None # type: ignore
122122
return FileTaskScheduler(
123123
resource_dict=resource_dict,
124124
pysqa_config_directory=pysqa_config_directory,

0 commit comments

Comments
 (0)