Apply ruff flake8-comprehensions (#21694)
This commit is contained in:
@@ -137,7 +137,7 @@ logger = getLogger(__name__)
|
||||
|
||||
|
||||
def flatten_list(summary_ids: List[List]):
|
||||
return [x for x in itertools.chain.from_iterable(summary_ids)]
|
||||
return list(itertools.chain.from_iterable(summary_ids))
|
||||
|
||||
|
||||
def save_git_info(folder_path: str) -> None:
|
||||
|
||||
Reference in New Issue
Block a user