Skip to content

Commit e9c894d

Browse files
authored
Merge branch 'master' into C4
2 parents dee7c1b + ce67587 commit e9c894d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ dev = [
4747
line-length = 99
4848

4949
[tool.ruff.lint]
50-
extend-select = ["W", "C4", "I", "C90"]
50+
extend-select = ["W", "ISC", "I", "C4", "C90"]
5151
ignore = ["E721", "C901"]
5252

5353
[tool.ruff.lint.mccabe]

tabulate/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def make_header_line(is_header, colwidths, colaligns):
300300
else:
301301
raise ValueError(
302302
"_asciidoc_row() requires two (colwidths, colaligns) "
303-
+ "or three (cell_values, colwidths, colaligns) arguments) "
303+
"or three (cell_values, colwidths, colaligns) arguments) "
304304
)
305305

306306

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

0 commit comments

Comments
 (0)