98 lines
2.2 KiB
TOML
98 lines
2.2 KiB
TOML
[project]
|
|
name = "ingest-pipeline"
|
|
version = "0.1.0"
|
|
description = "Document ingestion pipeline with Prefect orchestration"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"prefect>=2.14.0",
|
|
"pydantic>=2.5.0",
|
|
"pydantic-settings>=2.1.0",
|
|
"firecrawl-py>=1.0.0",
|
|
"gitpython>=3.1.40",
|
|
"weaviate-client>=4.4.0",
|
|
"httpx>=0.25.0",
|
|
"typer>=0.9.0",
|
|
"rich>=13.7.0",
|
|
"textual>=0.50.0",
|
|
"python-dotenv>=1.0.0",
|
|
"r2r>=3.6.6",
|
|
"typing-extensions>=4.15.0",
|
|
"python-dateutil>=2.9.0.post0",
|
|
]
|
|
|
|
[project.scripts]
|
|
ingest = "ingest_pipeline.cli.main:app"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["ingest_pipeline"]
|
|
|
|
[tool.uv]
|
|
dev-dependencies = [
|
|
"pytest>=7.4.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"pytest-cov>=4.1.0",
|
|
"mypy>=1.7.0",
|
|
"ruff>=0.1.0",
|
|
"pyrefly>=0.33.0",
|
|
"sourcery>=1.37.0",
|
|
"pylance>=0.36.0",
|
|
"marimo>=0.16.0",
|
|
"basedpyright>=1.31.4",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"W", # pycodestyle warnings
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"B", # flake8-bugbear
|
|
"C4", # flake8-comprehensions
|
|
"UP", # pyupgrade
|
|
]
|
|
ignore = [
|
|
"E501", # line too long (handled by formatter)
|
|
]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"ingest_pipeline/cli/main.py" = ["B008"] # Typer uses function calls in defaults
|
|
|
|
[tool.mypy]
|
|
python_version = "3.12"
|
|
strict = true
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
ignore_missing_imports = true
|
|
# Allow AsyncGenerator types in overrides
|
|
disable_error_code = ["override"]
|
|
|
|
[tool.basedpyright]
|
|
include = ["ingest_pipeline"]
|
|
exclude = ["**/__pycache__", "**/.pytest_cache", "**/node_modules", ".venv", "build", "dist"]
|
|
pythonVersion = "3.12"
|
|
venvPath = "."
|
|
venv = ".venv"
|
|
typeCheckingMode = "standard"
|
|
useLibraryCodeForTypes = true
|
|
reportMissingTypeStubs = "none"
|
|
reportMissingModuleSource = "none"
|
|
reportAttributeAccessIssue = "warning"
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
pythonpath = ["."]
|
|
|
|
[tool.coverage.run]
|
|
source = ["ingest_pipeline"]
|
|
omit = ["*/tests/*", "*/__main__.py"]
|