best-doctor/flake8-variables-names

View on GitHub
flake8_variables_names/list_helpers.py

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
from typing import List


def flat(some_list: List[List]) -> List:
    return [item for sublist in some_list for item in sublist]