V3: primitive nodes; additional ruff rules for V3 nodes

This commit is contained in:
bigcat88
2025-07-15 17:40:15 +03:00
parent f687f8af7c
commit c196dd5d0f
8 changed files with 242 additions and 96 deletions

View File

@@ -12,6 +12,8 @@ documentation = "https://docs.comfy.org/"
[tool.ruff]
lint.select = [
"E", # pycodestyle errors
"I", # isort
"N805", # invalid-first-argument-name-for-method
"S307", # suspicious-eval-usage
"S102", # exec
@@ -22,3 +24,8 @@ lint.select = [
"F",
]
exclude = ["*.ipynb"]
line-length = 120
lint.pycodestyle.ignore-overlong-task-comments = true
[tool.ruff.lint.per-file-ignores]
"!comfy_extras/v3/*" = ["E", "I"] # enable these rules only for V3 nodes