mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-26 19:09:58 +00:00
F401 fixes for ruff
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
[tool.ruff]
|
||||
|
||||
target-version = "py310"
|
||||
|
||||
exclude = ["extensions"]
|
||||
|
||||
ignore = [
|
||||
"E501",
|
||||
|
||||
"F401", # Module imported but unused
|
||||
"E501", # Line too long
|
||||
"E731", # Do not assign a `lambda` expression, use a `def`
|
||||
]
|
||||
|
||||
|
||||
[tool.ruff.per-file-ignores]
|
||||
"webui.py" = ["E402"] # Module level import not at top of file
|
||||
"webui.py" = ["E402"] # Module level import not at top of file
|
||||
|
||||
Reference in New Issue
Block a user