| [project] |
| name = "structured-data-extraction" |
| version = "0.1.0" |
| description = "Multi-domain document extraction service: invoices, receipts, and SEC filings to schema-validated JSON." |
| authors = [{ name = "ASP", email = "adityapatel1801@gmail.com" }] |
| readme = "README.md" |
| requires-python = ">=3.11" |
| license = { text = "MIT" } |
|
|
| [tool.ruff] |
| line-length = 100 |
| target-version = "py311" |
|
|
| [tool.ruff.lint] |
| select = ["E", "F", "I", "N", "W", "UP", "B", "SIM"] |
| ignore = ["E501", "UP017"] |
|
|
| [tool.ruff.lint.per-file-ignores] |
| |
| |
| |
| "src/api/errors.py" = ["N818"] |
| |
| |
| "src/api/routers/*.py" = ["B008"] |
| |
| |
| "src/data_prep/parsers.py" = ["SIM108"] |
| |
| "tests/**/*.py" = ["B007"] |
|
|
| [tool.black] |
| line-length = 100 |
| target-version = ["py311"] |
|
|
| [tool.pytest.ini_options] |
| testpaths = ["tests"] |
| python_files = "test_*.py" |
| python_classes = "Test*" |
| python_functions = "test_*" |
| addopts = "-v" |
| |
| |
| |
| asyncio_mode = "auto" |
|
|
| [tool.coverage.run] |
| source = ["src"] |
| omit = ["*/tests/*", "*/__init__.py"] |
|
|