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
|
[tool.poetry]
name = "openapi-pydantic"
version = "0.5.1"
description = "Pydantic OpenAPI schema implementation"
authors = ["Mike Oakley <mike-oakley@users.noreply.github.com>"]
readme = "README.md"
repository = "https://github.com/mike-oakley/openapi-pydantic"
license = "MIT"
keywords = [
"openapi",
"schema",
"parser",
"pydantic",
"validation",
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Framework :: Pydantic",
]
include = ["openapi_pydantic/py.typed"]
[tool.poetry.urls]
changelog = "https://github.com/mike-oakley/openapi-pydantic/releases"
[tool.poetry.dependencies]
python = "^3.8"
pydantic = ">=1.8"
[tool.poetry.group.test.dependencies]
pytest = "^8.2.2"
pytest-cov = "^5.0.0"
openapi-spec-validator = "^0.7.0"
[tool.poetry.group.dev.dependencies]
black = "^24.4.2"
mypy = "^1.8.0"
pre-commit = "^2.16.0"
ruff = "^0.7.2"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unreachable = true
warn_return_any = true
strict = true
disallow_any_generics = false
implicit_reexport = false
show_error_codes = true
files = ["openapi_pydantic/", "tests/"]
plugins = ["pydantic.mypy"]
|