-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (65 loc) · 1.9 KB
/
pyproject.toml
File metadata and controls
74 lines (65 loc) · 1.9 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "hawkapi-cache"
version = "0.2.0"
description = "Response caching for HawkAPI — decorator + middleware + Redis/memory backends + tag-based invalidation"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.12"
authors = [
{ name = "HawkAPI Contributors", email = "hawkapi@users.noreply.github.com" },
]
keywords = ["hawkapi", "cache", "redis", "response-cache", "http-cache"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP",
"Typing :: Typed",
]
dependencies = [
"hawkapi>=0.1.7",
"msgpack>=1.0",
]
[project.urls]
Homepage = "https://pypi.org/project/hawkapi-cache/"
Repository = "https://github.com/Hawk-API/hawkapi-cache"
Issues = "https://github.com/Hawk-API/hawkapi-cache/issues"
[project.optional-dependencies]
redis = ["redis>=5.0"]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.24",
"httpx>=0.27",
"fakeredis>=2.20",
"redis>=5.0",
"ruff>=0.8",
"pyright>=1.1",
]
[tool.hatch.build.targets.wheel]
packages = ["src/hawkapi_cache"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
filterwarnings = ["ignore::DeprecationWarning"]
[tool.ruff]
target-version = "py312"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "S"]
ignore = ["S101"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S"]
[tool.pyright]
pythonVersion = "3.12"
typeCheckingMode = "strict"
# msgpack ships without type stubs; per-call ignores are noisy.
reportUnknownVariableType = false
reportUnknownMemberType = false
reportUnknownArgumentType = false