forked from requests-cache/aiohttp-client-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
126 lines (111 loc) · 4.31 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
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
[tool.poetry]
name = "aiohttp-client-cache"
version="0.9.1"
description = "Persistent cache for aiohttp requests"
authors = ["Jordan Cook"]
license = "MIT License"
readme = "README.md"
homepage = "https://github.com/requests-cache/aiohttp-client-cache"
repository = "https://github.com/requests-cache/aiohttp-client-cache"
keywords = ["aiohttp", "async", "asyncio", "cache", "cache-backends", "client", "http",
"persistence", "requests", "sqlite", "redis", "mongodb", "dynamodb"]
include = [
{ path = "*.md", format = "sdist" },
{ path = "*.yml", format = "sdist" },
{ path = "aiohttp_client_cache/py.typed" },
{ path = "docs", format = "sdist" },
{ path = "examples", format = "sdist" },
{ path = "test", format = "sdist" }
]
classifiers = [
"Development Status :: 3 - Alpha",
'Framework :: AsyncIO',
'Framework :: aiohttp',
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
[tool.poetry.urls]
"Documentation" = "https://aiohttp-client-cache.readthedocs.io"
[tool.poetry.dependencies]
python = "^3.7"
aiohttp = "^3.8"
attrs = ">=21.2"
itsdangerous = ">=2.0"
url-normalize = "^1.4"
# Optional backend dependencies
aioboto3 = {optional=true, version=">=9.0"}
aiobotocore = {optional=true, version=">=2.0"}
aiofiles = {optional=true, version=">=0.6.0"}
aiosqlite = {optional=true, version=">=0.16"}
motor = {optional=true, version=">=3.1"}
redis = {optional=true, version=">=4.2"}
# Documentation dependencies needed for Readthedocs builds
furo = {optional=true, version="^2023.8", python=">=3.8"}
linkify-it-py = {optional=true, version=">=2.0", python=">=3.8"}
markdown-it-py = {optional=true, version=">=2.2", python=">=3.8"}
myst-parser = {optional=true, version=">=2.0", python=">=3.8"}
python-forge = {optional=true, version="^18.6", python=">=3.8"}
sphinx = {optional=true, version="7.1.2", python=">=3.8"}
sphinx-automodapi = {optional=true, version=">=0.15", python=">=3.8"}
sphinx-autodoc-typehints = {optional=true, version="^1.23", python=">=3.8"}
sphinx-copybutton = {optional=true, version="^0.3", python=">=3.8"}
sphinx-inline-tabs = {optional=true, version=">=2023.4", python=">=3.8"}
sphinxcontrib-apidoc = {optional=true, version=">=0.3", python=">=3.8"}
[tool.poetry.extras]
all = ["aioboto3", "aiobotocore", "aiofiles", "aiosqlite", "motor", "redis"]
dynamodb = ["aioboto3", "aiobotocore"]
filesystem = ["aiofiles", "aiosqlite"]
mongodb = ["motor"]
redis = ["redis"]
sqlite = ["aiosqlite"]
docs = ["furo", "linkify-it-py", "markdown-it-py", "myst-parser", "python-forge",
"sphinx", "sphinx-automodapi","sphinx-autodoc-typehints", "sphinx-copybutton",
"sphinx-inline-tabs", "sphinxcontrib-apidoc"]
[tool.poetry.dev-dependencies]
# For unit + integration tests
brotli = ">=1.0"
pytest = ">=6.2"
pytest-aiohttp = "^0.3"
pytest-asyncio = "^0.14"
pytest-clarity = {version=">=1.0", python=">=3.8"}
pytest-cov = "^2.11"
pytest-xdist = "^2.3"
# For convenience in local development; additional tools are managed by pre-commit
nox = ">=2022.11"
nox-poetry = "^0.8.6"
pre-commit = ">=2.12"
sphinx-autobuild= {version=">=2021.3", python=">=3.8"}
types-aiofiles = ">=0.1.7"
# Workarounds for possible dependency issues with importlib-metadata (3.7 only)
typing-extensions = {version="^4.0", python="3.7"}
zipp = {version="^3.7", python="3.7"}
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
skip-string-normalization = true
[tool.coverage.html]
directory = 'test-reports'
[tool.coverage.run]
branch = true
source = ['aiohttp_client_cache']
omit = [
'aiohttp_client_cache/__init__.py',
'aiohttp_client_cache/backends/__init__.py',
'aiohttp_client_cache/signatures.py',
]
[tool.coverage.report]
exclude_lines = [
'pragma: no cover',
'if TYPE_CHECKING:',
]
[tool.isort]
profile = "black"
line_length = 100
skip_gitignore = true
known_first_party = ['test']
[tool.mypy]
ignore_missing_imports = true
exclude = "dist|build"