Skip to content

Commit 53b2086

Browse files
committed
fix: update ci workflows -v2
1 parent 0112ae5 commit 53b2086

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

python/sqlformat.py

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# copies or substantial portions of the Software.
1212
# File: python/sqlformat.py
1313

14+
"""SQL formatting module for Neovim plugin."""
1415
from typing import Optional, Union, cast
1516

1617
import sqlparse
@@ -49,13 +50,16 @@ def format_sql(
4950
raise ValueError("Line width must be a positive integer")
5051

5152
# Format the SQL
52-
formatted = cast(str, sqlparse.format(
53-
sql,
54-
reindent=True,
55-
indent_width=indent,
56-
keyword_case=keyword_case,
57-
wrap_after=line_width,
58-
))
53+
formatted = cast(
54+
str,
55+
sqlparse.format(
56+
sql,
57+
reindent=True,
58+
indent_width=indent,
59+
keyword_case=keyword_case,
60+
wrap_after=line_width,
61+
),
62+
)
5963

6064
vim.command('echo "SQL formatting complete"')
6165
return formatted

0 commit comments

Comments
 (0)