-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
116 lines (103 loc) · 2.92 KB
/
pyproject.toml
File metadata and controls
116 lines (103 loc) · 2.92 KB
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
113
114
115
116
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "pydocket"
dynamic = ["version"]
description = "A distributed background task system for Python functions"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [{ name = "Chris Guidry", email = "guid@omg.lol" }]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Typing :: Typed",
]
dependencies = [
"cloudpickle>=3.1.1",
"exceptiongroup>=1.2.0; python_version < '3.11'",
"fakeredis[lua]>=2.32.1",
"opentelemetry-api>=1.30.0",
"opentelemetry-exporter-prometheus>=0.51b0",
"prometheus-client>=0.21.1",
"py-key-value-aio[memory,redis]>=0.2.8",
"python-json-logger>=3.2.1",
"redis>=5",
"rich>=13.9.4",
"typer>=0.15.1",
"typing_extensions>=4.12.0",
"uuid7>=0.1.0",
]
[dependency-groups]
dev = [
"codespell>=2.4.1",
"docker>=7.1.0",
"ipython>=8.0.0",
"mypy>=1.14.1",
"opentelemetry-distro>=0.51b0",
"opentelemetry-exporter-otlp>=1.30.0",
"opentelemetry-instrumentation>=0.51b0",
"opentelemetry-instrumentation-logging>=0.51b0",
"opentelemetry-instrumentation-redis>=0.51b0",
"opentelemetry-sdk>=1.30.0",
"prek>=0.2.13",
"pyright>=1.1.398",
"pytest>=8.3.4",
"pytest-asyncio>=0.24.0",
"pytest-cov>=6.0.0",
"pytest-flakefinder>=1.1.0",
"pytest-repeat>=0.9.3",
"pytest-timeout>=2.4.0",
"pytest-xdist>=3.6.1",
"ruff>=0.9.7",
]
docs = [
"mkdocs>=1.5.3",
"mkdocs-material>=9.5.13",
"mkdocstrings>=0.24.1",
"mkdocstrings-python>=1.8.0",
]
examples = ["fastapi>=0.120.0", "pydantic>=2.11.10", "uvicorn>=0.38.0"]
[project.scripts]
docket = "docket.__main__:app"
[project.urls]
"Homepage" = "https://github.com/chrisguidry/docket"
"Bug Tracker" = "https://github.com/chrisguidry/docket/issues"
[tool.hatch.version]
source = "vcs"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/docket"]
[tool.ruff]
target-version = "py310"
[tool.pytest.ini_options]
addopts = [
"--numprocesses=logical",
"--maxprocesses=4",
"--cov=src/docket",
"--cov=tests",
"--cov-report=term-missing",
"--cov-branch",
]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
asyncio_default_test_loop_scope = "function"
filterwarnings = ["error"]
[tool.coverage.run]
omit = ["src/docket/__main__.py"]
branch = true
parallel = true
[tool.pyright]
include = ["src", "tests"]
typeCheckingMode = "strict"
venvPath = "."
venv = ".venv"