Files
AioHTTPX/pyproject.toml
2025-10-26 14:19:34 +03:00

94 lines
1.5 KiB
TOML

[project]
name = "aiohttpx"
version = "0.1.0"
description = "Custom HTTPX client with aiohttp transport, rate limiter and caching"
readme = "README.md"
authors = [
{ name = "Miwory", email = "miwory.uwu@gmail.com" }
]
requires-python = ">=3.13"
dependencies = [
"aiohttp==3.13.1",
"httpx==0.28.1",
"orjson==3.11.4",
"redis[hiredis]==7.0.0",
]
[project.scripts]
aiohttpx = "aiohttpx:main"
[project.optional-dependencies]
dev = [
"ruff==0.14.2",
"pyright==1.1.407",
"poethepoet==0.37.0",
"pre-commit==4.3.0",
"types-redis==4.6.0.20241004",
]
[tool.poe.tasks]
_git = "git add ."
_lint = "pre-commit run --all-files"
lint = ["_git", "_lint"]
check = "uv pip ls --outdated"
[build-system]
requires = ["uv_build>=0.9.2,<0.10.0"]
build-backend = "uv_build"
[tool.pyright]
venvPath = "."
venv = ".venv"
strictListInference = true
strictDictionaryInference = true
strictSetInference = true
deprecateTypingAliases = true
typeCheckingMode = "strict"
pythonPlatform = "All"
[tool.ruff]
target-version = "py313"
line-length = 79
fix = true
[tool.ruff.lint]
preview = true
select = [
"E",
"W",
"F",
"UP",
"A",
"B",
"C4",
"SIM",
"I",
"S",
"G",
"FAST",
"ASYNC",
"BLE",
"INT",
"ISC",
"ICN",
"PYI",
"INP",
"RSE",
"PIE",
"SLOT",
"TID",
"LOG",
"FBT",
"DTZ",
"EM",
"PERF",
"RUF",
]
ignore = ["RUF029", "S101", "S104"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
docstring-code-format = true