feat: add stage 0 foundation
This commit is contained in:
52
backend/pyproject.toml
Normal file
52
backend/pyproject.toml
Normal file
@@ -0,0 +1,52 @@
|
||||
[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",
|
||||
]
|
||||
|
||||
[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"
|
||||
Reference in New Issue
Block a user