-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
88 lines (80 loc) · 2.43 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[tool.poetry]
name = 'asgi-idempotency-header'
version = '0.2.0'
description = 'Enable idempotent operations for your endpoints.'
authors = ['Sondre Lillebø Gundersen <[email protected]>']
maintainers = ["Patrick Gleeson <[email protected]>"]
license = 'BSD-3'
readme = 'README.md'
homepage = 'https://github.com/snok/asgi-idempotency-header'
repository = 'https://github.com/snok/asgi-idempotency-header'
keywords = [
'idempotence', 'idempotency', 'header', 'fastapi', 'starlette', 'asgi',
'middleware', 'api', 'endpoint', 'http'
]
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Framework :: AsyncIO',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
'Typing :: Typed',
]
packages = [
{ include = 'idempotency_header_middleware' },
]
[tool.poetry.dependencies]
python = '^3.8'
fastapi = { version = '^0.70.0', optional = true }
starlette = { version = '*', optional = true }
redis = { version = '^4.2', optional = true }
lupa = { version = '*', optional = true } # needed for redis locks
[tool.poetry.dev-dependencies]
pytest = '*'
coverage = '*'
pre-commit = '*'
httpx = '*'
pytest-cov = '*'
pytest-asyncio = '*'
orjson = '*'
ujson = '*'
fakeredis = '*'
[tool.poetry.extras]
fastapi = ['fastapi']
starlette = ['starlette']
redis = ['redis', 'lupa']
all = ['redis', 'lupa', 'fastapi', 'starlette']
[build-system]
requires = ['poetry-core>=1.0.0']
build-backend = 'poetry.core.masonry.api'
[tool.black]
quiet = true
line-length = 120
skip-string-normalization = true
experimental-string-processing = true
[tool.isort]
profile = 'black'
line_length = 120
[tool.coverage.run]
omit = [
'idempotency_header_middleware/backends/base.py'
]
[tool.coverage.report]
show_missing = true
skip_covered = true
exclude_lines = [
"if TYPE_CHECKING:",
"pragma: no cover",
]