1 Star 0 Fork 0

chenbuting/StableDiffusion

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pyproject.toml 841 Bytes
一键复制 编辑 原始数据 按行查看 历史
chenbuting 提交于 2024-06-02 15:09 . first
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
extend-select = [
"B",
"C",
"I",
"W",
]
exclude = [
"extensions",
"extensions-disabled",
]
ignore = [
"E501", # Line too long
"E721", # Do not compare types, use `isinstance`
"E731", # Do not assign a `lambda` expression, use a `def`
"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.lint.per-file-ignores]
"webui.py" = ["E402"] # Module level import not at top of file
[tool.ruff.lint.flake8-bugbear]
# Allow default arguments like, e.g., `data: List[str] = fastapi.Query(None)`.
extend-immutable-calls = ["fastapi.Depends", "fastapi.security.HTTPBasic"]
[tool.pytest.ini_options]
base_url = "http://127.0.0.1:7860"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chenbuting/stable-diffusion.git
git@gitee.com:chenbuting/stable-diffusion.git
chenbuting
stable-diffusion
StableDiffusion
master

搜索帮助