Skip to content

Commit bb02934

Browse files
committed
Remove whitespace
1 parent f8940f6 commit bb02934

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Diff for: table2ascii/alignment.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Alignment(Enum):
88
Example::
99
1010
from table2ascii import Alignment
11-
11+
1212
output = table2ascii(
1313
...
1414
alignments=[Alignment.LEFT, Alignment.RIGHT, Alignment.CENTER, Alignment.CENTER]

Diff for: table2ascii/table_to_ascii.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def __pad(self, text: str, width: int, alignment: Alignment) -> str:
110110
text (str): The text to pad
111111
width (int): The width in characters to pad to
112112
alignment (Alignment): The alignment to use
113-
113+
114114
Returns:
115115
str: The padded text
116116
"""
@@ -137,7 +137,7 @@ def __row_to_ascii(
137137
) -> str:
138138
"""
139139
Assembles a line of text in the ascii table
140-
140+
141141
Returns:
142142
str: The line in the ascii table
143143
"""
@@ -290,7 +290,8 @@ def table2ascii(
290290
footer: Optional[List] = None,
291291
**options,
292292
) -> str:
293-
"""Convert a 2D Python table to ASCII text
293+
"""
294+
Convert a 2D Python table to ASCII text
294295
295296
Args:
296297
header (:class:`Optional[List]`): List of column values in the table's header row

0 commit comments

Comments
 (0)