@@ -110,7 +110,7 @@ dependencies = [
110110]
111111"dev" = [" jurigged" , " pudb" , " snakeviz" , " gprof2dot" ]
112112"test" = [
113- " ruff==0.1.11 " ,
113+ " ruff==0.2.1 " ,
114114 " ruff-lsp" ,
115115 " mypy" ,
116116 " pre-commit" ,
@@ -139,7 +139,7 @@ dependencies = [
139139"invokeai-merge2" = " invokeai.frontend.merge.merge_diffusers2:main"
140140"invokeai-ti" = " invokeai.frontend.training:invokeai_textual_inversion"
141141"invokeai-model-install" = " invokeai.frontend.install.model_install:main"
142- "invokeai-model-install2" = " invokeai.frontend.install.model_install2:main" # will eventually be renamed to invokeai-model-install
142+ "invokeai-model-install2" = " invokeai.frontend.install.model_install2:main" # will eventually be renamed to invokeai-model-install
143143"invokeai-migrate3" = " invokeai.backend.install.migrate_to_3:main"
144144"invokeai-update" = " invokeai.frontend.install.invokeai_update:main"
145145"invokeai-metadata" = " invokeai.backend.image_util.invoke_metadata:main"
@@ -206,13 +206,6 @@ output = "coverage/index.xml"
206206# === Begin: Ruff
207207[tool .ruff ]
208208line-length = 120
209- ignore = [
210- " E501" , # https://docs.astral.sh/ruff/rules/line-too-long/
211- " C901" , # https://docs.astral.sh/ruff/rules/complex-structure/
212- " B008" , # https://docs.astral.sh/ruff/rules/function-call-in-default-argument/
213- " B904" , # https://docs.astral.sh/ruff/rules/raise-without-from-inside-except/
214- ]
215- select = [" B" , " C" , " E" , " F" , " W" , " I" ]
216209exclude = [
217210 " .git" ,
218211 " __pycache__" ,
@@ -221,6 +214,15 @@ exclude = [
221214 " invokeai/frontend/web/node_modules/" ,
222215 " .venv*" ,
223216]
217+
218+ [tool .ruff .lint ]
219+ ignore = [
220+ " E501" , # https://docs.astral.sh/ruff/rules/line-too-long/
221+ " C901" , # https://docs.astral.sh/ruff/rules/complex-structure/
222+ " B008" , # https://docs.astral.sh/ruff/rules/function-call-in-default-argument/
223+ " B904" , # https://docs.astral.sh/ruff/rules/raise-without-from-inside-except/
224+ ]
225+ select = [" B" , " C" , " E" , " F" , " W" , " I" ]
224226# === End: Ruff
225227
226228# === Begin: MyPy
0 commit comments