-
-
Notifications
You must be signed in to change notification settings - Fork 62
/
pyproject.toml
108 lines (93 loc) · 2.53 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
branch = true
source =["openapi_spec_validator"]
[tool.coverage.xml]
output = "reports/coverage.xml"
[tool.mypy]
files = "openapi_spec_validator"
strict = true
[[tool.mypy.overrides]]
module = "jsonschema.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "jsonschema_specifications"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "lazy_object_proxy.*"
ignore_missing_imports = true
[tool.poetry]
name = "openapi-spec-validator"
version = "0.7.1"
description = "OpenAPI 2.0 (aka Swagger) and OpenAPI 3 spec validator"
authors = ["Artur Maciag <[email protected]>"]
license = "Apache-2.0"
readme = "README.rst"
repository = "https://github.com/python-openapi/openapi-spec-validator"
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]
jsonschema = "^4.18.0"
openapi-schema-validator = "^0.6.0"
python = "^3.8.0"
importlib-resources = {version = ">=5.8,<7.0", python = "<3.9" }
jsonschema-path = "^0.3.1"
lazy-object-proxy = "^1.7.1"
[tool.poetry.extras]
docs = ["sphinx", "sphinx-immaterial"]
[tool.poetry.dev-dependencies]
pre-commit = "*"
pytest = "^8.2.2"
pytest-flake8 = "=1.1.1"
pytest-cov = "^4.1.0"
tox = "*"
mypy = "^1.10"
isort = "^5.13.2"
black = "^24.3.0"
flynt = "^1.0"
deptry = "^0.16.1"
flake8 = "^5.0.4"
pyflakes = "^2.5.0"
bump2version = "^1.0.1"
[tool.poetry.scripts]
openapi-spec-validator = "openapi_spec_validator.__main__:main"
[tool.poetry.group.docs.dependencies]
sphinx = ">=5.3,<8.0"
sphinx-immaterial = "^0.11.0"
[tool.pytest.ini_options]
addopts = """
--capture=no
--verbose
--showlocals
--junitxml=reports/junit.xml
--cov=openapi_spec_validator
--cov-report=term-missing
--cov-report=xml
"""
markers = [
"network: marks tests which do need network-enabled environment",
]
[tool.black]
line-length = 79
[tool.isort]
profile = "black"
line_length = 79
force_single_line = true