Refactor code structure for improved readability and maintainability

This commit is contained in:
ash66
2026-05-14 18:09:15 +08:00
parent 10d04c4083
commit 35cd927d02
105 changed files with 9043 additions and 7720 deletions

View File

@@ -26,22 +26,26 @@ dependencies = [
"loguru>=0.7.0",
"tenacity>=8.2.0",
"httpx>=0.24.0",
"celery>=5.3.0",
"redis>=4.5.0",
"minio>=7.1.0",
"psycopg2-binary>=2.9.0"
]
[project.optional-dependencies]
mineru = ["magic-pdf[full]>=0.6.0"]
queue = ["celery>=5.3.0", "redis>=4.5.0"]
storage = ["minio>=7.1.0"]
db = ["psycopg2-binary>=2.9.0"]
dev = ["pytest>=7.0.0", "pytest-asyncio>=0.21.0"]
[dependency-groups]
dev = ["pytest>=7.0.0", "pytest-asyncio>=0.21.0", "isort>=8.0.1"]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
where = ["backend"]
include = ["app*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
asyncio_mode = "auto"