Coverage for lintro / utils / execution / __init__.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.13.0, created at 2026-04-03 18:53 +0000

1"""Execution utilities for tool execution. 

2 

3This package provides utilities for tool execution including exit codes, 

4tool configuration, and parallel execution. 

5""" 

6 

7from lintro.utils.execution.exit_codes import ( 

8 DEFAULT_EXIT_CODE_FAILURE, 

9 DEFAULT_EXIT_CODE_SUCCESS, 

10 DEFAULT_REMAINING_COUNT, 

11 aggregate_tool_results, 

12 determine_exit_code, 

13) 

14from lintro.utils.execution.parallel_executor import run_tools_parallel 

15from lintro.utils.execution.tool_configuration import ( 

16 configure_tool_for_execution, 

17 get_tool_display_name, 

18 get_tool_lookup_keys, 

19 get_tools_to_run, 

20) 

21 

22__all__ = [ 

23 "DEFAULT_EXIT_CODE_FAILURE", 

24 "DEFAULT_EXIT_CODE_SUCCESS", 

25 "DEFAULT_REMAINING_COUNT", 

26 "aggregate_tool_results", 

27 "configure_tool_for_execution", 

28 "determine_exit_code", 

29 "get_tool_display_name", 

30 "get_tool_lookup_keys", 

31 "get_tools_to_run", 

32 "run_tools_parallel", 

33]