Refactor code structure for improved readability and maintainability

This commit is contained in:
k1nq
2026-09-16 14:27:32 +05:00
parent 01028f440e
commit 2b35fa9a6d
17 changed files with 1475 additions and 3 deletions
+8
View File
@@ -21,9 +21,12 @@ dependencies = [
[project.optional-dependencies]
dev = [
"aio-pika>=9,<11",
"pytest>=8.3,<9",
"pytest-asyncio>=0.25,<1",
"pytest-cov>=6,<8",
"ruff>=0.9,<1",
"testcontainers[postgres]>=4.13,<5",
"ty>=0.0.18,<0.1",
]
@@ -33,6 +36,11 @@ include = ["app*"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = ["--strict-markers"]
markers = [
"unit: fast tests without external infrastructure",
"integration: tests using real PostgreSQL or RabbitMQ containers",
]
[tool.ruff]
line-length = 100