feat: add pyproject.toml, smoke tests, and Gitea CI workflow
Some checks failed
CI / Lint (push) Failing after 2m8s
CI / Test (push) Successful in 2m6s
CI / Publish (push) Has been skipped
CI / Notify (push) Successful in 2s

- 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__
This commit is contained in:
2026-02-13 10:47:13 -05:00
parent 2df3f27af7
commit 6bcf84549c
6 changed files with 3044 additions and 0 deletions

39
pyproject.toml Normal file
View File

@@ -0,0 +1,39 @@
[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"