-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
66 lines (56 loc) · 1.3 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "streaq/__init__.py"
[project]
name = "streaq"
description = "Fast, async, type-safe job queuing with Redis streams"
readme = "README.md"
requires-python = ">=3.10"
license = {file = "LICENSE"}
authors = [
{ name = "Graeme Holliday", email = "[email protected]" }
]
dependencies = [
"crontab>=1.0.1",
"redis[hiredis]>=5.2.1",
"typer-slim>=0.15.1",
"watchfiles>=1.0.4",
]
dynamic = ["version"]
[project.optional-dependencies]
web = [
"fastapi>=0.115.7",
"jinja2>=3.1.5",
"uvicorn>=0.34.0",
]
[tool.hatch.build.targets.wheel]
packages = ["streaq"]
include = ["streaq/**/*"]
[project.scripts]
streaq = "streaq.__main__:cli"
[dependency-groups]
dev = [
"enum-tools[sphinx]>=0.12.0",
"pyright>=1.1.392.post0",
"pytest>=8.3.4",
"pytest-asyncio>=0.25.3",
"pytest-cov>=6.0.0",
"ruff>=0.9.3",
"sphinx>=8.1.3",
"sphinx-rtd-theme>=3.0.2",
"testcontainers[redis]>=4.9.1",
]
[tool.setuptools.package-data]
"streaq" = ["py.typed"]
[tool.setuptools.packages.find]
where = ["streaq"]
[tool.ruff.lint]
ignore = [
"E731", # lambda-assignment
]
[tool.pytest.ini_options]
testpaths = "tests"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"