mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-04 12:49:55 +00:00
V3: primitive nodes; additional ruff rules for V3 nodes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user