temp exculde B008

This commit is contained in:
Jakub Miazek 2022-11-12 18:41:14 +01:00
parent 30101f14db
commit 8d44b4a5eb

View File

@ -18,7 +18,7 @@ uvicorn = { extras = ["standard"], version = "*" }
uvloop = "*" uvloop = "*"
httptools = "*" httptools = "*"
rich = "*" rich = "*"
devtools = {extras = ["pygments"], version = "*"} devtools = { extras = ["pygments"], version = "*" }
black = "*" black = "*"
safety = "*" safety = "*"
pyupgrade = "*" pyupgrade = "*"
@ -34,8 +34,11 @@ build-backend = "poetry.core.masonry.api"
[tool.ruff] [tool.ruff]
line-length = 120 line-length = 120
select = ["E", "F", "U", "N", "C", "B"] select = ["E", "F", "U", "N", "C", "B"]
ignore = [] ignore = ["B008"]
# B008 - Do not perform function calls in argument defaults. https://github.com/tiangolo/fastapi/issues/1522
# Exclude a variety of commonly ignored directories. # Exclude a variety of commonly ignored directories.
exclude = [ exclude = [
"alembic", "alembic",