59 lines
1.4 KiB
TOML
59 lines
1.4 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "lilith-ml-exceptions"
|
|
version = "0.1.0"
|
|
description = "ML-specific exception classes and HTTP mappers"
|
|
requires-python = ">=3.10"
|
|
license = "MIT"
|
|
authors = [{ name = "transquinnftw", email = "quinn@ftw.codes" }]
|
|
keywords = ["ml", "exceptions", "fastapi", "errors"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Framework :: FastAPI",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
]
|
|
dependencies = []
|
|
|
|
[project.optional-dependencies]
|
|
fastapi = ["fastapi>=0.115.0"]
|
|
dev = ["pytest>=7.0", "pytest-asyncio>=0.21"]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/lilith_ml_exceptions"]
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
include = [
|
|
"/src",
|
|
"/tests",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
asyncio_mode = "auto"
|
|
|
|
[tool.mypy]
|
|
python_version = "3.10"
|
|
strict = true
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py310"
|
|
src = ["src", "tests"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "N", "W", "UP", "B", "C4", "SIM"]
|
|
|
|
[tool.lilith]
|
|
registry = "forgejo"
|