ComfyUI/ruff.toml
bigcat88 c2bf857966
annotated what the rule does
Signed-off-by: bigcat88 <bigcat88@icloud.com>
2025-01-03 08:31:00 +02:00

17 lines
502 B
TOML

target-version = "py39"
# Disable all rules by default
lint.ignore = ["ALL"]
# Enable specific rules, see all rules here: https://docs.astral.sh/ruff/rules/
lint.select = [
"S307", # suspicious-eval-usage
"T201", # print-usage
"W",
# The "F" series in Ruff stands for "Pyflakes" rules, which catch various Python syntax errors and undefined names.
"F",
"C408", # unnecessary dict(), list() or tuple() calls that can be rewritten as empty literals.
]
exclude = ["*.ipynb"]