This repository has been archived by the owner on Jul 8, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
125 lines (110 loc) · 3.2 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "openapi-schemas-pydantic"
dynamic = ['version']
description = "OpenAPI Schema using pydantic. Forked for Esmerald."
long_description = "OpenAPI Schema using pydantic. Forked for Esmerald."
authors = [{ name = "Tiago Silva", email = "[email protected]" }]
requires-python = ">=3.8"
readme = "README.md"
license = "MIT"
keywords = [
"OpenAPI",
"open-api",
"openapi_schemas_pydantic",
"pydantic",
"schema",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
]
dependencies = [
"pydantic>=2.0.0,<3.0.0",
"pydantic-extra-types>=2.0.0,<3.0.0",
"email-validator >=2.0.0,<3.0.0",
]
[project.urls]
Homepage = "https://github.com/dymmond/openapi-schemas-pydantic"
Documentation = "https://openapi-schemas.dymmond.com/"
Changelog = "https://openapi-schemas.dymmond.com/release-notes/"
Funding = "https://github.com/sponsors/tarsil"
Source = "https://github.com/dymmond/openapi-schemas-pydantic"
[project.optional-dependencies]
test = [
"pytest >=7.1.3,<8.0.0",
"pytest-cov >=2.12.0,<4.0.0",
"pytest-asyncio >=0.19.0,<0.20.0",
]
dev = [
"black>=23.0.0,<30.0.0",
"isort>=5.12.0,<6.0.0",
"mypy==1.6.1",
"pre-commit>=2.17.0,<3.0.0",
"ruff>=0.0.275,<1.0.0",
]
doc = [
"mkautodoc >=0.2.0,<0.3.0",
"mkdocs >=1.1.2,<2.0.0",
"mkdocs-material >=8.1.4,<9.0.0",
"mdx-include >=1.4.1,<2.0.0",
"mkdocs-markdownextradata-plugin >=0.1.7,<0.3.0",
"mkdocstrings>=0.19.0,<0.25.0",
"pyyaml >=5.3.1,<7.0.0",
]
[tool.ruff]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
exclude = ["docs/*"]
[tool.hatch.version]
path = "openapi_schemas_pydantic/__init__.py"
[tool.isort]
profile = "black"
known_third_party = ["esmerald", "pydantic", "starlette"]
[tool.mypy]
strict = true
warn_unused_configs = true
warn_unreachable = true
warn_return_any = true
disallow_untyped_decorators = true
disallow_any_generics = false
implicit_reexport = false
show_error_codes = true
disallow_incomplete_defs = true
disable_error_code = "attr-defined"
warn_unused_ignores = true
warn_redundant_casts = true
[[tool.mypy.overrides]]
module = "openapi-schemas-pydantic.tests.*"
ignore_missing_imports = true
check_untyped_defs = true
[tool.pytest.ini_options]
addopts = ["--strict-config", "--strict-markers"]
xfail_strict = true
junit_family = "xunit2"
[tool.hatch.build.targets.sdist]
include = ["/openapi_schemas_pydantic"]