Skip to content

Commit

Permalink
Apply ruff/flake8-implicit-str-concat rule ISC003
Browse files Browse the repository at this point in the history
ISC003 Explicitly concatenated string should be implicitly concatenated
  • Loading branch information
DimitriPapadopoulos committed Sep 26, 2024
1 parent 1ad9819 commit e1e1d80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tabulate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ def make_header_line(is_header, colwidths, colaligns):

else:
raise ValueError(
" _asciidoc_row() requires two (colwidths, colaligns) "
+ "or three (cell_values, colwidths, colaligns) arguments) "
"_asciidoc_row() requires two (colwidths, colaligns) "
"or three (cell_values, colwidths, colaligns) arguments)"
)


Expand Down Expand Up @@ -1353,7 +1353,7 @@ def _prepend_row_index(rows, index):
if isinstance(index, Sized) and len(index) != len(rows):
raise ValueError(
"index must be as long as the number of data rows: "
+ f"len(index)={len(index)} len(rows)={len(rows)}"
f"len(index)={len(index)} len(rows)={len(rows)}"
)
sans_rows, separating_lines = _remove_separating_lines(rows)
new_rows = []
Expand Down

0 comments on commit e1e1d80

Please sign in to comment.