Fix linting

This commit is contained in:
doctorpangloss 2025-12-10 06:46:16 -08:00
parent b8fe3d4617
commit 05b9102f1f
3 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,5 @@
# Internal infrastructure for ComfyAPI
# pylint: disable=no-self-argument
from .api_registry import (
ComfyAPIBase as ComfyAPIBase,
ComfyAPIWithVersion as ComfyAPIWithVersion,

View File

@ -1,4 +1,5 @@
from __future__ import annotations
# pylint: disable=no-self-argument, unexpected-keyword-arg
import copy
import inspect

View File

@ -307,7 +307,7 @@ packages = ["comfy/", "comfy_extras/", "comfy_api/", "comfy_api_nodes/", "comfy_
[tool.pylint.master]
py-version = "3.10"
extension-pkg-allow-list = ["pydantic", "cv2"]
extension-pkg-allow-list = ["pydantic", "cv2", "transformers"]
ignore-paths = ["^comfy/api/.*$"]
ignored-modules = ["sentencepiece.*", "comfy.api", "comfy.cmd.folder_paths"]
init-hook = 'import sys; sys.path.insert(0, ".")'