53 lines
1.4 KiB
TOML
53 lines
1.4 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "medical-coding-system"
|
|
version = "0.1.0"
|
|
description = "Production-oriented local medical ICD-10-CM coding system using offline LLMs, LangGraph, and deterministic verification."
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
license = { text = "Proprietary" }
|
|
authors = [{ name = "Abhinav Gupta", email = "abhinavg.aiindia@gmail.com" }]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
minversion = "7.0"
|
|
addopts = "-ra -q --strict-markers"
|
|
testpaths = ["tests"]
|
|
pythonpath = ["src"]
|
|
asyncio_mode = "auto"
|
|
asyncio_default_fixture_loop_scope = "function"
|
|
|
|
[tool.ruff]
|
|
target-version = "py313"
|
|
line-length = 100
|
|
src = ["src", "tests"]
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"W", # pycodestyle warnings
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"B", # flake8-bugbear
|
|
"C4", # flake8-comprehensions
|
|
"UP", # pyupgrade
|
|
"ARG", # flake8-unused-arguments
|
|
]
|
|
ignore = [
|
|
"E501", # line too long (handled by formatter)
|
|
"B008", # do not perform function calls in argument defaults (standard for FastAPI Depends)
|
|
"ARG002", # unused method arguments (expected in interface/scaffold methods)
|
|
]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"scripts/*" = ["E402"]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["medical_coding"]
|
|
|