From 3702b18a53329edce5d8e3909d655bfe635b1c7f Mon Sep 17 00:00:00 2001 From: Kyle King Date: Fri, 23 Aug 2024 19:03:27 -0400 Subject: [PATCH] ci: run pre-commit --- mdformat_tables/plugin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mdformat_tables/plugin.py b/mdformat_tables/plugin.py index 6b86834..4cc7c1a 100644 --- a/mdformat_tables/plugin.py +++ b/mdformat_tables/plugin.py @@ -44,7 +44,9 @@ def format_delimiter_cell(index: int, align: str) -> str: f"{{:{al or '<'}{widths[i]}}}".format(text) for i, (text, al) in enumerate(zip(rows[0], align[0])) ) - delimiter = join_row((format_delimiter_cell(i, al) for i, al in enumerate(align[0]))) + delimiter = join_row( + (format_delimiter_cell(i, al) for i, al in enumerate(align[0])) + ) rows = [ join_row( f"{{:{al or '<'}{widths[i]}}}".format(text)