You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.3 KiB
TOML
58 lines
1.3 KiB
TOML
[tool.poetry]
|
|
name = "amqp-workers"
|
|
version = "0.1.5"
|
|
description = "amqp-worker is a Python-based multi-threaded RabbitMQ consumer framework"
|
|
authors = ["JimZhang <zzl22100048@gmail.com>"]
|
|
readme = "README.md"
|
|
packages = [{include = "amqpworker"}]
|
|
repository = "https://git.loom.run/Coder/amqp-worker"
|
|
keywords = ["amqp", "rabbitmq"]
|
|
license = "MIT"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.8"
|
|
amqpstorm = {version = "^2.10.6", source = "douban"}
|
|
pydantic = {version = "1.10.7", source = "douban"}
|
|
loguru = {version = "^0.7.0", source = "douban"}
|
|
cached-property = {version = "^1.5.2", source = "douban"}
|
|
delayedqueue = {version = "^1.0.0", source = "douban"}
|
|
orjson = "^3.9.10"
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
pytest = "^7.3.1"
|
|
pytest-mock = "^3.10.0"
|
|
oxidized-importer = "^0.6.0"
|
|
pyscan-rs = "^0.1.6"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
|
|
|
|
[[tool.poetry.source]]
|
|
name = "douban"
|
|
url = "https://mirror.baidu.com/pypi/simple"
|
|
|
|
[tool.pytest.ini_options]
|
|
minversion = "6.0"
|
|
addopts = "-ra -q"
|
|
testpaths = [
|
|
"tests",
|
|
]
|
|
|
|
[tool.ruff]
|
|
exclude = [
|
|
"tests",
|
|
]
|
|
line-length = 120
|
|
select = [
|
|
"E",
|
|
"F",
|
|
"W",
|
|
"I"
|
|
]
|
|
|
|
[tool.ruff.isort]
|
|
combine-as-imports = true |