From a7ab5ec9f2a6bba0f5319c070a703822e0f4a5ee Mon Sep 17 00:00:00 2001 From: elvis kahoro Date: Wed, 21 Jun 2023 14:57:05 -0700 Subject: [PATCH] lint: Lint --- scripts/gen_theme_previews.py | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/scripts/gen_theme_previews.py b/scripts/gen_theme_previews.py index bf0ef31..de9bdfb 100644 --- a/scripts/gen_theme_previews.py +++ b/scripts/gen_theme_previews.py @@ -9,8 +9,7 @@ import yaml def get_all_input_files( input_dir: str, ) -> list[str]: - """ - Parameters + """Parameters ---------- input_dir : @@ -25,8 +24,7 @@ def get_all_input_files( def ensure_output_dir( output_dir: str, ) -> None: - """ - Parameters + """Parameters ---------- output_dir : """ @@ -40,8 +38,7 @@ def add_color_to_dict( key: str, prefix: str | None = None, ) -> None: - """ - Parameters + """Parameters ---------- output : obj : @@ -57,8 +54,7 @@ def get_color_dict( input_dir: str, file_name: str, ) -> dict[str, str]: - """ - Parameters + """Parameters ---------- input_dir : file_name : @@ -88,8 +84,7 @@ def get_color_dict( def file_name_to_display( file_name: str, ) -> str: - """ - Parameters + """Parameters ---------- file_name : @@ -110,8 +105,7 @@ def gen_svg_for_theme( color_dict: dict[str, str], svg_template: str, ) -> str: - """ - Parameters + """Parameters ---------- color_dict : svg_template :