(line: str, n: int, padding: int)
return '  {dim}{n}{reset}: {line}'.format(dim=Style.DIM,
                                              n=str(n + 1).zfill(padding),
                                              line=line,
                                              reset=Style.RESET_ALL)
Format single line of code.
Format single line of code.
Format single line of code .
def _format_line(line: str, n: int, padding: int) -> str:
    """Format single line of code."""
    return '  {dim}{n}{reset}: {line}'.format(dim=Style.DIM,
                                              n=str(n + 1).zfill(padding),
                                              line=line,
                                              reset=Style.RESET_ALL)
def _format_line ( line : str , n : int , padding : int ) -> str : return '  {dim}{n}{reset}: {line}' . format ( dim = Style . DIM , n = str ( n + 1 ) . zfill ( padding ) , line = line , reset = Style . RESET_ALL )