mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-10 14:20:49 +08:00
Fix linting
This commit is contained in:
parent
b8fe3d4617
commit
05b9102f1f
@ -1,4 +1,5 @@
|
||||
# Internal infrastructure for ComfyAPI
|
||||
# pylint: disable=no-self-argument
|
||||
from .api_registry import (
|
||||
ComfyAPIBase as ComfyAPIBase,
|
||||
ComfyAPIWithVersion as ComfyAPIWithVersion,
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
from __future__ import annotations
|
||||
# pylint: disable=no-self-argument, unexpected-keyword-arg
|
||||
|
||||
import copy
|
||||
import inspect
|
||||
|
||||
@ -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, ".")'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user