forked from taskiq-python/taskiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
112 lines (102 loc) · 2.94 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[tool.poetry]
name = "taskiq"
version = "0.8.2"
description = "Distributed task queue with full async support"
authors = ["Pavel Kirilin <[email protected]>"]
maintainers = ["Pavel Kirilin <[email protected]>"]
readme = "README.md"
repository = "https://github.com/taskiq-python/taskiq"
homepage = "https://taskiq-python.github.io/"
documentation = "https://taskiq-python.github.io/"
license = "LICENSE"
classifiers = [
"Typing :: Typed",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: System :: Networking",
"Development Status :: 3 - Alpha",
]
keywords = ["taskiq", "tasks", "distributed", "async"]
[tool.poetry.dependencies]
python = "^3.8.1"
typing-extensions = ">=3.10.0.0"
pydantic = ">=1.0,<=3.0"
importlib-metadata = "*"
pycron = "^3.0.0"
taskiq_dependencies = "^1"
anyio = "^3"
packaging = ">=19"
# For prometheus metrics
prometheus_client = { version = "^0", optional = true }
# For ZMQBroker
pyzmq = { version = "^23.2.0", optional = true }
# For speed
uvloop = { version = ">=0.16.0,<1", optional = true }
# For hot-reload.
watchdog = { version = "^2.1.9", optional = true }
gitignore-parser = { version = "^0", optional = true }
[tool.poetry.dev-dependencies]
pytest = "^7.1.2"
black = { version = "^22.6.0", allow-prereleases = true }
flake8 = "^6"
isort = "^5.10.1"
mypy = "^1"
pre-commit = "^2.20.0"
yesqa = "^1.3.0"
autoflake = "^1.4"
coverage = "^6.4.2"
pytest-cov = "^3.0.0"
mock = "^4.0.3"
pytest-xdist = { version = "^2.5.0", extras = ["psutil"] }
types-mock = "^4.0.15"
wemake-python-styleguide = "^0.18.0"
tox = "^4.6.4"
freezegun = "^1.2.2"
pytest-mock = "^3.11.1"
[tool.poetry.extras]
zmq = ["pyzmq"]
uv = ["uvloop"]
metrics = ["prometheus_client"]
reload = ["watchdog", "gitignore-parser"]
[tool.poetry.scripts]
taskiq = "taskiq.__main__:main"
[tool.poetry.plugins.taskiq_cli]
worker = "taskiq.cli.worker.cmd:WorkerCMD"
scheduler = "taskiq.cli.scheduler.cmd:SchedulerCMD"
[tool.mypy]
strict = true
ignore_missing_imports = true
allow_subclassing_any = true
allow_untyped_calls = true
pretty = true
show_error_codes = true
implicit_reexport = true
allow_untyped_decorators = true
warn_return_any = false
warn_unused_ignores = false
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.pytest.ini_options]
log_level='INFO'
[tool.coverage.run]
omit = [
"taskiq/__main__.py",
"taskiq/abc/cmd.py",
"taskiq/cli/scheduler/args.py",
"taskiq/cli/scheduler/cmd.py",
"taskiq/cli/utils.py",
"taskiq/cli/worker/args.py",
"taskiq/cli/worker/async_task_runner.py",
"taskiq/cli/worker/cmd.py",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"