feat: добавить ruff линтер и pytest-benchmark в dev-зависимости

This commit is contained in:
qwen.ai[bot] 2026-08-12 13:24:16 +00:00
parent 34a0e193ac
commit 39cb91e34d

View file

@ -31,8 +31,20 @@ dev = [
"pytest>=8",
"pytest-asyncio>=0.23",
"pytest-httpx>=0.30",
"pytest-benchmark>=4.0",
"ruff>=0.3",
]
[tool.ruff]
target-version = "py311"
line-length = 120
select = ["E", "F", "W", "I", "N", "UP", "B", "C4", "SIM"]
ignore = ["E501"]
exclude = [".git", "__pycache__", ".venv", "build", "dist", "tests/"]
[tool.ruff.per-file-ignores]
"tests/*" = ["S101", "PLR2004"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"