fix: add PL rule

This commit is contained in:
Dowon
2024-08-24 13:58:08 +09:00
parent 652da215ac
commit fbbe127c9e
7 changed files with 8 additions and 7 deletions

View File

@@ -133,7 +133,7 @@ def get_table(title: str, data: dict[str, Any]) -> Table:
table.add_column("Value")
for key, value in data.items():
if not isinstance(value, str):
value = repr(value)
value = repr(value) # noqa: PLW2901
table.add_row(key, value)
return table

View File

@@ -369,7 +369,7 @@ def mask_preprocessing(w: Widgets, n: int, is_img2img: bool):
)
def inpainting(w: Widgets, n: int, is_img2img: bool, webui_info: WebuiInfo):
def inpainting(w: Widgets, n: int, is_img2img: bool, webui_info: WebuiInfo): # noqa: PLR0915
eid = partial(elem_id, n=n, is_img2img=is_img2img)
with gr.Group():