From b380f25add6eface3237963c8199156550e6c719 Mon Sep 17 00:00:00 2001 From: telamonian Date: Fri, 26 Jul 2024 19:04:14 -0400 Subject: [PATCH] picked lint --- .pylintrc | 1 + comfy_cli/uv.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pylintrc b/.pylintrc index 22987f1..761ec41 100644 --- a/.pylintrc +++ b/.pylintrc @@ -16,6 +16,7 @@ disable= W0212, # protected-access C0301, # line-too-long C0103, # invalid-name + W1510, # subprocess-run-check # TODO W3101, # missing timeout on request diff --git a/comfy_cli/uv.py b/comfy_cli/uv.py index 6c18016..3302c5a 100644 --- a/comfy_cli/uv.py +++ b/comfy_cli/uv.py @@ -187,7 +187,7 @@ def resolveGpu(gpu: Union[str, None]): def __init__( self, cwd: PathLike = ".", - extDirs: list[PathLike] = [], + extDirs: Optional[list[PathLike]] = None, gpu: Union[str, None] = None, outName: str = "requirements.compiled", ):