mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 02:15:17 +00:00
annotated what the rule does
Signed-off-by: bigcat88 <bigcat88@icloud.com>
This commit is contained in:
parent
8fefe02cd1
commit
c2bf857966
@ -1,17 +1,16 @@
|
||||
target-version = "py38"
|
||||
target-version = "py39"
|
||||
|
||||
# Disable all rules by default
|
||||
lint.ignore = ["ALL"]
|
||||
|
||||
# Enable specific rules
|
||||
# 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.
|
||||
# See all rules here: https://docs.astral.sh/ruff/rules/#pyflakes-f
|
||||
"F",
|
||||
"C408",
|
||||
"C408", # unnecessary dict(), list() or tuple() calls that can be rewritten as empty literals.
|
||||
]
|
||||
|
||||
exclude = ["*.ipynb"]
|
||||
|
Loading…
Reference in New Issue
Block a user