Files
2026-11-01 05:42:04 +03:00

64 lines
1.2 KiB
TOML

[project]
name = "avito-tools"
version = "0.1.0"
description = "Avito search, price analytics and MCP tools"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "MIT" }
dependencies = [
"aiosqlite>=0.20",
"curl-cffi>=0.11",
"fastapi>=0.115",
"fastmcp>=4.1",
"greenlet>=3.5.6",
"httpx>=0.28",
"pydantic>=2.9",
"pydantic-settings>=2.5",
"sqlalchemy>=2.0",
"uvicorn[standard]>=0.34",
"websockets>=15",
]
[project.optional-dependencies]
dev = [
"httpx>=0.28",
"pytest>=8.3",
"pytest-cov>=6.0",
"ruff>=0.9",
"mypy>=1.14",
]
postgres = ["asyncpg>=0.30"]
[project.scripts]
avito-tools = "avito_tools.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/avito_tools"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src", "."]
addopts = "-q"
[tool.ruff]
line-length = 100
target-version = "py312"
extend-exclude = ["dev", ".venv", "var"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.mypy]
python_version = "3.12"
warn_unused_configs = true
ignore_missing_imports = true
[tool.basedpyright]
include = ["src"]
exclude = ["dev", ".venv", "var", "tests"]
typeCheckingMode = "basic"