ComfyUI/ruff.toml
Alexander Piskun 8fefe02cd1
applied RUFF C408 rule (unnecessary-collection-call)
Signed-off-by: bigcat88 <bigcat88@icloud.com>
2025-01-02 08:44:11 +02:00

18 lines
430 B
TOML

target-version = "py38"
# Disable all rules by default
lint.ignore = ["ALL"]
# Enable specific 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.
# See all rules here: https://docs.astral.sh/ruff/rules/#pyflakes-f
"F",
"C408",
]
exclude = ["*.ipynb"]