diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-05-10 08:19:16 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-05-10 08:19:16 +0000 |
commit | 550256db1ce18778a9d56ff343d844c61b9f9b83 (patch) | |
tree | a17e8fd9cb475381c361844970ba2d9111938b6d /pyproject.toml | |
parent | 028d3f6425d85f122027c127fba8bcbf4f66ee75 (diff) | |
download | stable-diffusion-webui-gfx803-550256db1ce18778a9d56ff343d844c61b9f9b83.tar.gz stable-diffusion-webui-gfx803-550256db1ce18778a9d56ff343d844c61b9f9b83.tar.bz2 stable-diffusion-webui-gfx803-550256db1ce18778a9d56ff343d844c61b9f9b83.zip |
ruff manual fixes
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml index 2f65fd6c..346a0cde 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,9 @@ ignore = [ ] - [tool.ruff.per-file-ignores] "webui.py" = ["E402"] # Module level import not at top of file + +[tool.ruff.flake8-bugbear] +# Allow default arguments like, e.g., `data: List[str] = fastapi.Query(None)`. +extend-immutable-calls = ["fastapi.Depends", "fastapi.security.HTTPBasic"]
\ No newline at end of file |