Реализованы сервисы ВМ2 - проверка сообщений и синхронизация с Б24 (деплой еще без перевода в боевой режим)
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
[project]
|
||||
name = "han-message-safety"
|
||||
version = "0.1.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"alembic>=1.13",
|
||||
"asyncpg>=0.29",
|
||||
"boto3>=1.34",
|
||||
"dnspython>=2.6",
|
||||
"fastapi>=0.115",
|
||||
"httpx>=0.27",
|
||||
"idna>=3.7",
|
||||
"jsonschema>=4.23",
|
||||
"pillow>=10.4",
|
||||
"pillow-heif>=0.18",
|
||||
"pydantic-settings>=2.5",
|
||||
"pyyaml>=6.0",
|
||||
"redis>=5.0",
|
||||
"sqlalchemy[asyncio]>=2.0",
|
||||
"uvicorn>=0.30",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = ["pytest>=8.3", "pytest-asyncio>=0.24", "ruff>=0.6"]
|
||||
|
||||
[project.scripts]
|
||||
message-safety = "app.main:run"
|
||||
message-safety-worker = "app.worker:run"
|
||||
message-safety-config = "app.config_admin:main"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["app"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
asyncio_mode = "auto"
|
||||
testpaths = ["tests"]
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py312"
|
||||
line-length = 100
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I", "B", "UP", "ASYNC", "S"]
|
||||
ignore = ["S101"]
|
||||
Reference in New Issue
Block a user