Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user