mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-21 07:30:02 +08:00
15 lines
258 B
TOML
15 lines
258 B
TOML
[tool.ruff]
|
|
|
|
target-version = "py310"
|
|
|
|
exclude = ["extensions"]
|
|
|
|
ignore = [
|
|
"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
|