Files
ai-ticket-platform/backend/pyproject.toml
2026-07-16 19:37:32 +08:00

58 lines
1.3 KiB
TOML

[project]
name = "ai-ticket-platform-backend"
version = "0.1.0"
description = "Backend for AI-native technical support ticket platform"
requires-python = ">=3.12"
dependencies = [
"Django>=5.0,<5.3",
"django-ninja>=1.3,<2.0",
"psycopg[binary]>=3.2,<4.0",
"celery>=5.4,<6.0",
"redis>=5.0,<6.0",
"django-cors-headers>=4.4,<5.0",
"pydantic>=2.8,<3.0",
"python-dotenv>=1.0,<2.0",
"openai>=1.50,<3.0",
"cryptography>=43.0,<47.0",
"jsonschema>=4.23,<5.0",
"minio>=7.2,<8.0",
"Pillow>=11.0,<12.0",
]
[build-system]
requires = ["setuptools>=69"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["apps*", "config*"]
[project.optional-dependencies]
dev = [
"pytest>=8.2,<9.0",
"pytest-django>=4.8,<5.0",
"ruff>=0.6,<1.0",
"mypy>=1.11,<2.0",
"django-stubs[compatible-mypy]>=5.0,<6.0",
]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "config.settings.test"
python_files = ["test_*.py", "*_test.py"]
testpaths = ["apps", "tests"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.mypy]
python_version = "3.12"
plugins = ["mypy_django_plugin.main"]
ignore_missing_imports = true
strict_optional = true
[tool.django-stubs]
django_settings_module = "config.settings.test"