ComfyUI/ruff.toml
2025-01-09 21:47:26 +08:00

18 lines
518 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
"S102", # exec
"T", # 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"]