update project and add ruff
This commit is contained in:
@@ -22,3 +22,20 @@ python-multipart = "^0.0.6"
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.ruff]
|
||||
exclude = [
|
||||
".git",
|
||||
".ruff_cache",
|
||||
".venv",
|
||||
"venv",
|
||||
"mongodb",
|
||||
"data",
|
||||
]
|
||||
line-length = 92
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "UP", "I"]
|
||||
|
||||
[tool.ruff.format]
|
||||
skip-magic-trailing-comma = true
|
||||
Reference in New Issue
Block a user