Commit 49a55b41 authored by Aarni Koskela's avatar Aarni Koskela

Autofix Ruff W (not W605) (mostly whitespace)

parent 431bc5a2
......@@ -1841,15 +1841,15 @@ def versions_html():
return f"""
version: <a href="https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/{commit}">{tag}</a>
 • 
 •
python: <span title="{sys.version}">{python_version}</span>
 • 
 •
torch: {getattr(torch, '__long_version__',torch.__version__)}
 • 
 •
xformers: {xformers_version}
 • 
 •
gradio: {gr.__version__}
 • 
 •
checkpoint: <a id="sd_checkpoint_hash">N/A</a>
"""
......
......@@ -6,6 +6,7 @@ extend-select = [
"B",
"C",
"I",
"W",
]
exclude = [
......@@ -20,7 +21,7 @@ ignore = [
"I001", # Import block is un-sorted or un-formatted
"C901", # Function is too complex
"C408", # Rewrite as a literal
"W605", # invalid escape sequence, messes with some docstrings
]
[tool.ruff.per-file-ignores]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment