Skip to content

Commit d42ba76

Browse files
Apply ruff/flake8-implicit-str-concat rule ISC003
Explicitly concatenated string should be implicitly concatenated
1 parent 1c7bbd8 commit d42ba76

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tabulate/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def make_header_line(is_header, colwidths, colaligns):
304304
else:
305305
raise ValueError(
306306
"_asciidoc_row() requires two (colwidths, colaligns) "
307-
+ "or three (cell_values, colwidths, colaligns) arguments) "
307+
"or three (cell_values, colwidths, colaligns) arguments) "
308308
)
309309

310310

@@ -1413,7 +1413,7 @@ def _prepend_row_index(rows, index):
14131413
if isinstance(index, Sized) and len(index) != len(rows):
14141414
raise ValueError(
14151415
"index must be as long as the number of data rows: "
1416-
+ f"len(index)={len(index)} len(rows)={len(rows)}"
1416+
f"len(index)={len(index)} len(rows)={len(rows)}"
14171417
)
14181418
sans_rows, separating_lines = _remove_separating_lines(rows)
14191419
new_rows = []

0 commit comments

Comments
 (0)