File tree Expand file tree Collapse file tree
python/ruff-ecosystem/ruff_ecosystem Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,13 +105,10 @@ def entrypoint():
105105 for signal in [SIGINT , SIGTERM ]:
106106 loop .add_signal_handler (signal , main_task .cancel )
107107 try :
108- had_errors = loop .run_until_complete (main_task )
108+ loop .run_until_complete (main_task )
109109 finally :
110110 loop .close ()
111111
112- if had_errors :
113- exit (1 )
114-
115112
116113def parse_args () -> argparse .Namespace :
117114 parser = argparse .ArgumentParser (
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ async def main(
3737 format_comparison : FormatComparison | None ,
3838 max_parallelism : int = 50 ,
3939 raise_on_failure : bool = False ,
40- ) -> bool :
40+ ) -> None :
4141 logger .debug ("Using command %s" , command .value )
4242 logger .debug ("Using baseline executable at %s" , baseline_executable )
4343 logger .debug ("Using comparison executable at %s" , comparison_executable )
@@ -96,7 +96,7 @@ async def limited_parallelism(coroutine: Awaitable[T]) -> T:
9696 case _:
9797 raise ValueError (f"Unknown output format { format } " )
9898
99- return bool ( result . errored )
99+ return None
100100
101101
102102async def clone_and_compare (
You can’t perform that action at this time.
0 commit comments