Init Project Flexly Estimator
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
[project]
|
||||
name = "estimator"
|
||||
version = "0.1.0"
|
||||
description = "Service for estimating labor effort and cost of work (agent + deterministic pricing)"
|
||||
requires-python = ">=3.11"
|
||||
dependencies = [
|
||||
"fastapi>=0.115",
|
||||
"uvicorn>=0.30",
|
||||
"pydantic>=2.7",
|
||||
"pydantic-settings>=2.3",
|
||||
"httpx>=0.27",
|
||||
"sqlalchemy[asyncio]>=2.0",
|
||||
"alembic>=1.13",
|
||||
"psycopg[binary]>=3.1",
|
||||
"jinja2>=3.1",
|
||||
"itsdangerous>=2.1",
|
||||
"python-multipart>=0.0.9",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = ["pytest>=8", "pytest-asyncio>=0.23", "aiosqlite>=0.19", "ruff>=0.6"]
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=68"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["src"]
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
estimator = ["web/templates/**/*.html", "web/static/*"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
pythonpath = ["src"]
|
||||
asyncio_mode = "auto"
|
||||
asyncio_default_fixture_loop_scope = "function"
|
||||
markers = ["live: calls real LLM providers, needs keys and EST_LIVE_LLM=1"]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 100
|
||||
target-version = "py311"
|
||||
src = ["src", "tests"]
|
||||
|
||||
[tool.ruff.lint]
|
||||
# B008: FastAPI dependency injection uses Depends(...) in argument defaults by design
|
||||
ignore = ["B008"]
|
||||
Reference in New Issue
Block a user