init
This commit is contained in:
30 files changed
+1757
No files matched your search
@@ -0,0 +1,52 @@
|
||||
[build-system]
|
||||
requires = ["hatchling>=1.27"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "warehouse-allocation"
|
||||
version = "1.0.0"
|
||||
description = "Low-latency warehouse routing and inventory allocation microservice"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.11"
|
||||
dependencies = [
|
||||
"fastapi>=0.115,<1",
|
||||
"prometheus-client>=0.21,<1",
|
||||
"pydantic-settings>=2.7,<3",
|
||||
"redis[hiredis]>=5.2,<7",
|
||||
"uvicorn[standard]>=0.34,<1",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"httpx>=0.28,<1",
|
||||
"mypy>=1.14,<2",
|
||||
"pytest>=8.3,<9",
|
||||
"pytest-asyncio>=0.25,<2",
|
||||
"pytest-cov>=6,<8",
|
||||
"ruff>=0.9,<1",
|
||||
]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/warehouse_allocation"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "-q --strict-markers --cov=warehouse_allocation --cov-report=term-missing --cov-fail-under=85"
|
||||
asyncio_mode = "auto"
|
||||
testpaths = ["tests"]
|
||||
|
||||
[tool.coverage.run]
|
||||
branch = true
|
||||
source = ["warehouse_allocation"]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 100
|
||||
target-version = "py311"
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I", "UP", "B", "SIM", "RUF"]
|
||||
|
||||
[tool.mypy]
|
||||
python_version = "3.11"
|
||||
strict = true
|
||||
plugins = ["pydantic.mypy"]
|
||||
|
||||
Reference in new issue
Block a user