-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (63 loc) · 1.88 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (63 loc) · 1.88 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
[build-system]
requires = ["hatchling>=1.31.0"]
build-backend = "hatchling.build"
[project]
name = "starlette-request-id"
version = "2.0.0"
description = "Request ID context and response propagation middleware for Starlette"
readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0"
authors = [{ name = "Pavel Liashkov", email = "pavel.liashkov@protonmail.com" }]
keywords = ["asgi", "logging", "request-id", "starlette", "tracing"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"request-id-helper>=1.0.0,<2.0.0",
"starlette>1.2.0,<2.0.0",
]
[dependency-groups]
dev = [
"httpx2>=2.7.0",
"mypy>=2.3.0",
"pytest>=9.1.1",
"pytest-cov>=7.1.0",
"ruff>=0.15.22",
]
[project.urls]
Changelog = "https://github.com/bigbag/starlette-request-id/blob/main/CHANGELOG.md"
Homepage = "https://github.com/bigbag/starlette-request-id"
Issues = "https://github.com/bigbag/starlette-request-id/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/starlette_request_id"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_ignores = true
files = ["src"]
[[tool.mypy.overrides]]
module = ["request_id_helper"]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
addopts = "-ra --strict-config"
[tool.coverage.run]
source = ["starlette_request_id"]
branch = true