forked from python-openapi/openapi-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
114 lines (103 loc) · 2.58 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
[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.poetry]
name = "openapi-core"
version = "0.16.5"
description = "client-side and server-side support for the OpenAPI Specification v3"
authors = ["Artur Maciag <maciag.artur@gmail.com>"]
license = "BSD-3-Clause"
readme = "README.rst"
repository = "https://github.com/p1c2u/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.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries"
]
[tool.poetry.dependencies]
python = "^3.7.0"
pathable = "^0.4.0"
django = {version = ">=3.0", optional = true}
falcon = {version = ">=3.0", optional = true}
flask = {version = "*", optional = true}
isodate = "*"
more-itertools = "*"
parse = "*"
openapi-schema-validator = ">=0.3.0,<0.5"
openapi-spec-validator = "^0.5.0"
requests = {version = "*", optional = true}
werkzeug = "*"
typing-extensions = "^4.3.0"
jsonschema-spec = "^0.1.1"
backports-cached-property = {version = "^1.0.2", python = "<3.8" }
[tool.poetry.extras]
django = ["django"]
falcon = ["falcon"]
flask = ["flask"]
requests = ["requests"]
starlette = ["starlette", "httpx"]
[tool.poetry.dev-dependencies]
black = "^22.3.0"
django = ">=3.0"
djangorestframework = "^3.11.2"
falcon = ">=3.0"
flask = "*"
isort = "^5.9.1"
pre-commit = "*"
pytest = "^6"
pytest-flake8 = "*"
pytest-cov = "*"
responses = "*"
sphinx = "^4.0.2"
sphinx-rtd-theme = "^0.5.2"
strict-rfc3339 = "^0.7"
webob = "*"
mypy = "^0.971"
starlette = "^0.21.0"
httpx = "^0.23.0"
[tool.pytest.ini_options]
addopts = """
--capture=no
--verbose
--showlocals
--junitxml=reports/junit.xml
--cov=openapi_core
--cov-report=term-missing
--cov-report=xml
"""
[tool.black]
line-length = 79
[tool.isort]
profile = "black"
line_length = 79
force_single_line = true