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"] "dev" = ["jurigged", "pudb", "snakeviz", "gprof2dot"]
"test" = [ "test" = [
"ruff==0.1.11", "ruff==0.2.1",
"ruff-lsp", "ruff-lsp",
"mypy", "mypy",
"pre-commit", "pre-commit",
@ -206,13 +206,6 @@ output = "coverage/index.xml"
#=== Begin: Ruff #=== Begin: Ruff
[tool.ruff] [tool.ruff]
line-length = 120 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 = [ exclude = [
".git", ".git",
"__pycache__", "__pycache__",
@ -221,6 +214,15 @@ exclude = [
"invokeai/frontend/web/node_modules/", "invokeai/frontend/web/node_modules/",
".venv*", ".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 #=== End: Ruff
#=== Begin: MyPy #=== Begin: MyPy