Skip to content

Commit

Permalink
Fix typos found by codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Sep 26, 2024
1 parent f99343a commit 1f49977
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tabulate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2647,7 +2647,7 @@ def _update_lines(self, lines, new_line):
else: # A single reset code resets everything
self._active_codes = []

# Always ensure each line is color terminted if any colors are
# Always ensure each line is color terminated if any colors are
# still active, otherwise colors will bleed into other cells on the console
if len(self._active_codes) > 0:
new_line = new_line + _ansi_color_reset_code
Expand Down
6 changes: 3 additions & 3 deletions test/test_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


def test_iterable_of_iterables():
"Input: an interable of iterables."
"Input: an iterable of iterables."
ii = iter(map(lambda x: iter(x), [range(5), range(5, 0, -1)]))
expected = "\n".join(
["- - - - -", "0 1 2 3 4", "5 4 3 2 1", "- - - - -"]
Expand All @@ -21,7 +21,7 @@ def test_iterable_of_iterables():


def test_iterable_of_iterables_headers():
"Input: an interable of iterables with headers."
"Input: an iterable of iterables with headers."
ii = iter(map(lambda x: iter(x), [range(5), range(5, 0, -1)]))
expected = "\n".join(
[
Expand All @@ -36,7 +36,7 @@ def test_iterable_of_iterables_headers():


def test_iterable_of_iterables_firstrow():
"Input: an interable of iterables with the first row as headers"
"Input: an iterable of iterables with the first row as headers"
ii = iter(map(lambda x: iter(x), ["abcde", range(5), range(5, 0, -1)]))
expected = "\n".join(
[
Expand Down

0 comments on commit 1f49977

Please sign in to comment.