-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
180 lines (162 loc) · 3.99 KB
/
pyproject.toml
File metadata and controls
180 lines (162 loc) · 3.99 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
[build-system]
build-backend = 'hatchling.build'
requires = ['hatchling', 'hatch-vcs']
[dependency-groups]
docs = [
"mkdocs-material>=9.7.6",
"mike>=2.1.4",
"mkdocs-glightbox>=0.5.2",
"setuptools>=82.0.1",
"mkdocs-llmstxt>=0.5.0",
"pygments<2.20.0"
]
lint = [
"mypy>=1.19.1",
"ruff>=0.15.8",
"types-grpcio>=1.0.0.20251009",
"types-aiobotocore[sqs]>=3.4.0"
]
pre-commit = [
"pre-commit>=4.5.1"
]
tests = [
"pytest>=9.0.3",
"pytest-asyncio>=1.3.0",
"pytest-lazy-fixtures>=1.4.0",
"pytest-docker-tools>=3.1.9",
"pytest-timeout>=2.4.0",
"coverage[toml]>=7.13.4",
"httpx>=0.28.1"
]
[project]
authors = [{name = "aleksul", email = "me@aleksul.space"}]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Typing :: Typed"
]
dependencies = [
"typing-extensions>=4.3.0,<5.0.0; python_version < \"3.11\"",
"packaging>=22.0"
]
description = "Repid is a simple, fast, and extensible async task queue framework, with built-in AsyncAPI 3.0 schema generation."
dynamic = ["version"]
license = {text = "MIT"}
name = "repid"
readme = "README.md"
requires-python = ">=3.10"
[project.optional-dependencies]
amqp = []
kafka = ["aiokafka>=0.13.0,<0.14.0"]
nats = ["nats-py>=2.14.0,<3.0.0"]
pubsub = [
"google-auth>=2.43.0",
"grpcio>=1.76.0"
]
pydantic = ["pydantic>=2.0.0,<3.0.0"]
redis = ["redis<8.0.0,>=7.0.0"]
sqs = ["aiobotocore>=2.10.0,<3.0.0"]
[project.urls]
documentation = "https://repid.aleksul.space"
funding = "https://github.com/sponsors/aleksul"
repository = "https://github.com/aleksul/repid"
tracker = "https://github.com/aleksul/repid/issues"
[tool.coverage]
[tool.coverage.report]
exclude_lines = [
'\.\.\.',
'if TYPE_CHECKING:',
'pragma: no cover'
]
fail_under = 100
[tool.coverage.run]
omit = ["repid/connections/rabbitmq/protocols.py", "repid/connections/kafka/protocols.py"]
source = ["repid"]
[tool.hatch.build.targets.wheel]
packages = ["repid"]
[tool.hatch.version]
source = "vcs"
[tool.markdownlint]
MD046 = false # Code block style
[tool.markdownlint.MD013]
code_block_line_length = 100 # Number of characters for code blocks
code_blocks = true # Include code blocks
headers = true # Include headers
heading_line_length = 100 # Number of characters for headings
headings = true # Include headings
line_length = 100 # Number of characters
stern = false # Stern length checking
strict = false # Strict length checking
tables = true # Include tables
[tool.mypy]
check_untyped_defs = true
disallow_any_unimported = true
disallow_untyped_defs = true
exclude = ["benchmarks"]
no_implicit_optional = true
show_error_codes = true
warn_return_any = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
disallow_any_unimported = false
module = "tests.*"
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = ["pytest_docker_tools", "aiokafka.*"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
markers = ["integration: marker for integration tests (deselect with `-m 'not integration'`)"]
timeout = 150
verbosity_assertions = 2
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
ignore = ["E501", "N999", "PLR0913"]
select = [
"F",
"E",
"W",
"C90",
"I",
"N",
"UP",
"YTT",
"S",
"BLE",
"FBT",
"B",
"A",
"COM",
"C4",
"T10",
"ISC",
"ICN",
"G",
"PIE",
"T20",
"PYI",
"PT",
"RET",
"SIM",
"TID",
"ARG",
"PTH",
"PGH",
"PL",
"RUF"
]
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ["PLC0414"]
"benchmarks/*" = ["T201", "S603", "S607"]
"repid/connections/__init__.py" = ["F401"]
"repid/connections/amqp/_uamqp/_encode.py" = ["FBT001", "FBT002"]
"repid/testing/__init__.py" = ["F401"]
"tests/*" = ["S", "PLR2004", "FBT", "BLE", "S101"]