- pyproject.toml: hatchling build, ruff + pytest dev deps, CLI entrypoint - tests/test_smoke.py: import validation for all modules - .gitea/workflows/ci.yaml: lint, test, publish to Gitea PyPI, ntfy notifications - .gitignore: exclude __pycache__
40 lines
729 B
TOML
40 lines
729 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "mlflow-utils"
|
|
version = "1.0.0"
|
|
description = "MLflow integration utilities for LLM Workflows"
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"mlflow>=2.10.0",
|
|
"psycopg2-binary>=2.9.0",
|
|
"boto3>=1.34.0",
|
|
"aiohttp>=3.9.0",
|
|
"PyYAML>=6.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"ruff>=0.9.0",
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.24.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
mlflow-utils = "mlflow_utils.cli:main"
|
|
|
|
[tool.ruff]
|
|
target-version = "py311"
|
|
line-length = 120
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "W"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
asyncio_mode = "auto"
|