diff options
| author | AUTOMATIC <16777216c@gmail.com> | 2023-05-10 08:43:42 +0300 |
|---|---|---|
| committer | AUTOMATIC <16777216c@gmail.com> | 2023-05-10 08:43:42 +0300 |
| commit | f741a98baccae100fcfb40c017b5c35c5cba1b0c (patch) | |
| tree | 685027bfa989c99583bd4980f437443bf270cec0 /pyproject.toml | |
| parent | 96d6ca4199e7c5eee8d451618de5161cea317c40 (diff) | |
| download | stable-diffusion-webui-gfx803-f741a98baccae100fcfb40c017b5c35c5cba1b0c.tar.gz | |
imports cleanup for ruff
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pyproject.toml b/pyproject.toml index 1e164abc..9caa9ba2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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
\ No newline at end of file |
