ComfyUI/ruff.toml

16 lines
409 B
TOML
Raw Normal View History

2024-12-10 03:04:23 +00:00
# Disable all rules by default
lint.ignore = ["ALL"]
# Enable specific rules
lint.select = [
"S307", # suspicious-eval-usage
2025-01-09 00:05:22 +00:00
"S102", # exec
"T", # print-usage
2025-01-01 08:08:33 +00:00
"W",
# The "F" series in Ruff stands for "Pyflakes" rules, which catch various Python syntax errors and undefined names.
# See all rules here: https://docs.astral.sh/ruff/rules/#pyflakes-f
"F",
]
exclude = ["*.ipynb"]