diff --git a/pyproject.toml b/pyproject.toml index 470699b..2044fdc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"