Use Ruff and fix all its warnings
This commit is contained in:
@ -18,16 +18,20 @@ uvicorn = { extras = ["standard"], version = "^0.23.0" }
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
httpx = "^0.25.0"
|
||||
pytest = "^7.4.3"
|
||||
pre-commit = "^3.5.0"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
requires = [
|
||||
"poetry-core>=1",
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
fix = true
|
||||
unsafe-fixes = true
|
||||
preview = true
|
||||
select = ["ALL"]
|
||||
ignore = ["D100", "CPY001"]
|
||||
ignore = ["D100", "D104", "CPY001", "ANN201"]
|
||||
|
||||
[tool.ruff.pydocstyle]
|
||||
convention = "google"
|
||||
|
Reference in New Issue
Block a user