mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 06:40:48 +08:00
Fix linting
This commit is contained in:
parent
b8fe3d4617
commit
05b9102f1f
@ -1,4 +1,5 @@
|
|||||||
# Internal infrastructure for ComfyAPI
|
# Internal infrastructure for ComfyAPI
|
||||||
|
# pylint: disable=no-self-argument
|
||||||
from .api_registry import (
|
from .api_registry import (
|
||||||
ComfyAPIBase as ComfyAPIBase,
|
ComfyAPIBase as ComfyAPIBase,
|
||||||
ComfyAPIWithVersion as ComfyAPIWithVersion,
|
ComfyAPIWithVersion as ComfyAPIWithVersion,
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
# pylint: disable=no-self-argument, unexpected-keyword-arg
|
||||||
|
|
||||||
import copy
|
import copy
|
||||||
import inspect
|
import inspect
|
||||||
|
|||||||
@ -307,7 +307,7 @@ packages = ["comfy/", "comfy_extras/", "comfy_api/", "comfy_api_nodes/", "comfy_
|
|||||||
|
|
||||||
[tool.pylint.master]
|
[tool.pylint.master]
|
||||||
py-version = "3.10"
|
py-version = "3.10"
|
||||||
extension-pkg-allow-list = ["pydantic", "cv2"]
|
extension-pkg-allow-list = ["pydantic", "cv2", "transformers"]
|
||||||
ignore-paths = ["^comfy/api/.*$"]
|
ignore-paths = ["^comfy/api/.*$"]
|
||||||
ignored-modules = ["sentencepiece.*", "comfy.api", "comfy.cmd.folder_paths"]
|
ignored-modules = ["sentencepiece.*", "comfy.api", "comfy.cmd.folder_paths"]
|
||||||
init-hook = 'import sys; sys.path.insert(0, ".")'
|
init-hook = 'import sys; sys.path.insert(0, ".")'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user