-
-
Notifications
You must be signed in to change notification settings - Fork 132
/
pyproject.toml
145 lines (132 loc) · 3.57 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
branch = true
source =["openapi_core"]
[tool.coverage.xml]
output = "reports/coverage.xml"
[tool.mypy]
files = "openapi_core"
strict = true
[[tool.mypy.overrides]]
module = [
"asgiref.*",
"django.*",
"falcon.*",
"isodate.*",
"jsonschema.*",
"more_itertools.*",
"parse.*",
"requests.*",
"werkzeug.*",
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "lazy_object_proxy.*"
ignore_missing_imports = true
[tool.poetry]
name = "openapi-core"
version = "0.19.4"
description = "client-side and server-side support for the OpenAPI Specification v3"
authors = ["Artur Maciag <[email protected]>"]
license = "BSD-3-Clause"
readme = "README.md"
repository = "https://github.com/python-openapi/openapi-core"
documentation = "https://openapi-core.readthedocs.io"
keywords = ["openapi", "swagger", "schema"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries",
"Typing :: Typed",
]
include = [
{path = "tests", format = "sdist"},
]
[tool.poetry.dependencies]
python = "^3.8.0"
django = {version = ">=3.0", optional = true}
falcon = {version = ">=3.0", optional = true}
flask = {version = "*", optional = true}
aiohttp = {version = ">=3.0", optional = true}
starlette = {version = ">=0.26.1,<0.39.0", optional = true}
isodate = "*"
more-itertools = "*"
parse = "*"
openapi-schema-validator = "^0.6.0"
openapi-spec-validator = "^0.7.1"
requests = {version = "*", optional = true}
werkzeug = "*"
jsonschema-path = "^0.3.1"
jsonschema = "^4.18.0"
multidict = {version = "^6.0.4", optional = true}
aioitertools = {version = ">=0.11,<0.13", optional = true}
fastapi = {version = ">=0.111,<0.115", optional = true}
[tool.poetry.extras]
django = ["django"]
falcon = ["falcon"]
fastapi = ["fastapi"]
flask = ["flask"]
requests = ["requests"]
aiohttp = ["aiohttp", "multidict"]
starlette = ["starlette", "aioitertools"]
[tool.poetry.group.dev.dependencies]
black = ">=23.3,<25.0"
django = ">=3.0"
djangorestframework = "^3.11.2"
falcon = ">=3.0"
flask = "*"
isort = "^5.11.5"
pre-commit = "*"
pytest = "^8"
pytest-flake8 = "*"
pytest-cov = "*"
python-multipart = "*"
responses = "*"
starlette = ">=0.26.1,<0.39.0"
strict-rfc3339 = "^0.7"
webob = "*"
mypy = "^1.2"
httpx = ">=0.24,<0.28"
deptry = ">=0.11,<0.21"
aiohttp = "^3.8.4"
pytest-aiohttp = "^1.0.4"
bump2version = "^1.0.1"
pyflakes = "^3.1.0"
fastapi = ">=0.111,<0.115"
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.6.1"
mkdocstrings = {extras = ["python"], version = "^0.26.1"}
mkdocs-material = "^9.5.34"
[tool.pytest.ini_options]
addopts = """
--capture=no
--verbose
--showlocals
--junitxml=reports/junit.xml
--cov=openapi_core
--cov-report=term-missing
--cov-report=xml
"""
asyncio_mode = "auto"
filterwarnings = [
"error",
# falcon.media.handlers uses cgi to parse data
"ignore:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning",
"ignore:co_lnotab is deprecated, use co_lines instead:DeprecationWarning",
]
[tool.black]
line-length = 79
[tool.isort]
profile = "black"
line_length = 79
force_single_line = true