Skip to content

Commit 7cc0323

Browse files
author
elvis kahoro
committed
lint: Lint
1 parent cfadbc7 commit 7cc0323

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

scripts/gen_theme_previews.py

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
def get_all_input_files(
1010
input_dir: str,
1111
) -> list[str]:
12-
"""Parameters
12+
"""
13+
Parameters
1314
----------
1415
input_dir :
1516
@@ -24,7 +25,8 @@ def get_all_input_files(
2425
def ensure_output_dir(
2526
output_dir: str,
2627
) -> None:
27-
"""Parameters
28+
"""
29+
Parameters
2830
----------
2931
output_dir :
3032
"""
@@ -38,7 +40,8 @@ def add_color_to_dict(
3840
key: str,
3941
prefix: str | None = None,
4042
) -> None:
41-
"""Parameters
43+
"""
44+
Parameters
4245
----------
4346
output :
4447
obj :
@@ -54,7 +57,8 @@ def get_color_dict(
5457
input_dir: str,
5558
file_name: str,
5659
) -> dict[str, str]:
57-
"""Parameters
60+
"""
61+
Parameters
5862
----------
5963
input_dir :
6064
file_name :
@@ -84,7 +88,8 @@ def get_color_dict(
8488
def file_name_to_display(
8589
file_name: str,
8690
) -> str:
87-
"""Parameters
91+
"""
92+
Parameters
8893
----------
8994
file_name :
9095
@@ -105,7 +110,8 @@ def gen_svg_for_theme(
105110
color_dict: dict[str, str],
106111
svg_template: str,
107112
) -> str:
108-
"""Parameters
113+
"""
114+
Parameters
109115
----------
110116
color_dict :
111117
svg_template :

0 commit comments

Comments
 (0)