mirror of
https://github.com/ethauvin/warp-themes.git
synced 2025-04-25 09:07:11 -07:00
lint: Lint
This commit is contained in:
parent
cfadbc7dce
commit
7cc0323632
1 changed files with 12 additions and 6 deletions
|
@ -9,7 +9,8 @@ import yaml
|
||||||
def get_all_input_files(
|
def get_all_input_files(
|
||||||
input_dir: str,
|
input_dir: str,
|
||||||
) -> list[str]:
|
) -> list[str]:
|
||||||
"""Parameters
|
"""
|
||||||
|
Parameters
|
||||||
----------
|
----------
|
||||||
input_dir :
|
input_dir :
|
||||||
|
|
||||||
|
@ -24,7 +25,8 @@ def get_all_input_files(
|
||||||
def ensure_output_dir(
|
def ensure_output_dir(
|
||||||
output_dir: str,
|
output_dir: str,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Parameters
|
"""
|
||||||
|
Parameters
|
||||||
----------
|
----------
|
||||||
output_dir :
|
output_dir :
|
||||||
"""
|
"""
|
||||||
|
@ -38,7 +40,8 @@ def add_color_to_dict(
|
||||||
key: str,
|
key: str,
|
||||||
prefix: str | None = None,
|
prefix: str | None = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Parameters
|
"""
|
||||||
|
Parameters
|
||||||
----------
|
----------
|
||||||
output :
|
output :
|
||||||
obj :
|
obj :
|
||||||
|
@ -54,7 +57,8 @@ def get_color_dict(
|
||||||
input_dir: str,
|
input_dir: str,
|
||||||
file_name: str,
|
file_name: str,
|
||||||
) -> dict[str, str]:
|
) -> dict[str, str]:
|
||||||
"""Parameters
|
"""
|
||||||
|
Parameters
|
||||||
----------
|
----------
|
||||||
input_dir :
|
input_dir :
|
||||||
file_name :
|
file_name :
|
||||||
|
@ -84,7 +88,8 @@ def get_color_dict(
|
||||||
def file_name_to_display(
|
def file_name_to_display(
|
||||||
file_name: str,
|
file_name: str,
|
||||||
) -> str:
|
) -> str:
|
||||||
"""Parameters
|
"""
|
||||||
|
Parameters
|
||||||
----------
|
----------
|
||||||
file_name :
|
file_name :
|
||||||
|
|
||||||
|
@ -105,7 +110,8 @@ def gen_svg_for_theme(
|
||||||
color_dict: dict[str, str],
|
color_dict: dict[str, str],
|
||||||
svg_template: str,
|
svg_template: str,
|
||||||
) -> str:
|
) -> str:
|
||||||
"""Parameters
|
"""
|
||||||
|
Parameters
|
||||||
----------
|
----------
|
||||||
color_dict :
|
color_dict :
|
||||||
svg_template :
|
svg_template :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue