forked from python-openapi/openapi-spec-validator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
73 lines (63 loc) · 1.82 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
[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.poetry]
name = "openapi-spec-validator"
version = "0.5.0a2"
description = "OpenAPI 2.0 (aka Swagger) and OpenAPI 3 spec validator"
authors = ["Artur Maciag <maciag.artur@gmail.com>"]
license = "Apache-2.0"
readme = "README.rst"
repository = "https://github.com/p1c2u/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.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries"
]
[tool.poetry.dependencies]
jsonschema = "^4.0.0"
openapi-schema-validator = {version = "^0.3.0a1", allow-prereleases = true}
python = "^3.7.0"
PyYAML = ">=5.1"
requests = {version = "*", optional = true}
importlib-resources = "^5.8.0"
[tool.poetry.extras]
dev = ["pre-commit"]
requests = ["requests"]
[tool.poetry.dev-dependencies]
pre-commit = {version = "*", optional = true}
pytest = "^6.2.5"
pytest-flake8 = "=1.0.7"
pytest-cov = "^3.0.0"
tox = "*"
[tool.poetry.scripts]
openapi-spec-validator = "openapi_spec_validator.__main__:main"
[tool.pytest.ini_options]
addopts = """
--capture=no
--verbose
--showlocals
--junitxml=reports/junit.xml
--cov=openapi_spec_validator
--cov-report=term-missing
--cov-report=xml
"""
[tool.black]
line-length = 79
[tool.isort]
profile = "black"
line_length = 79
force_single_line = true