chore: bump deps

- ruff 0.1.11 -> 0.2.1
- update config format
This commit is contained in:
psychedelicious 2024-02-11 00:36:54 +11:00
parent 763816ca0c
commit c45a43519a

View File

@ -110,7 +110,7 @@ dependencies = [
]
"dev" = ["jurigged", "pudb", "snakeviz", "gprof2dot"]
"test" = [
"ruff==0.1.11",
"ruff==0.2.1",
"ruff-lsp",
"mypy",
"pre-commit",
@ -206,13 +206,6 @@ output = "coverage/index.xml"
#=== Begin: Ruff
[tool.ruff]
line-length = 120
ignore = [
"E501", # https://docs.astral.sh/ruff/rules/line-too-long/
"C901", # https://docs.astral.sh/ruff/rules/complex-structure/
"B008", # https://docs.astral.sh/ruff/rules/function-call-in-default-argument/
"B904", # https://docs.astral.sh/ruff/rules/raise-without-from-inside-except/
]
select = ["B", "C", "E", "F", "W", "I"]
exclude = [
".git",
"__pycache__",
@ -221,6 +214,15 @@ exclude = [
"invokeai/frontend/web/node_modules/",
".venv*",
]
[tool.ruff.lint]
ignore = [
"E501", # https://docs.astral.sh/ruff/rules/line-too-long/
"C901", # https://docs.astral.sh/ruff/rules/complex-structure/
"B008", # https://docs.astral.sh/ruff/rules/function-call-in-default-argument/
"B904", # https://docs.astral.sh/ruff/rules/raise-without-from-inside-except/
]
select = ["B", "C", "E", "F", "W", "I"]
#=== End: Ruff
#=== Begin: MyPy