mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-19 17:47:25 -05:00
imports cleanup for ruff
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
[tool.ruff]
|
||||
|
||||
exclude = ["extensions"]
|
||||
|
||||
ignore = [
|
||||
"E501",
|
||||
"E731",
|
||||
"E402", # Module level import not at top of file
|
||||
"F401" # Module imported but unused
|
||||
|
||||
"F401", # Module imported but unused
|
||||
]
|
||||
|
||||
exclude = ["extensions"]
|
||||
|
||||
[tool.ruff.per-file-ignores]
|
||||
"webui.py" = ["E402"] # Module level import not at top of file
|
||||
Reference in New Issue
Block a user