-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
149 lines (133 loc) · 4.18 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
[project]
name = "aiopenapi3"
description = "client and validator for OpenAPI3 3.0, OpenAPI 3.1, Swagger 2.0"
authors = [
{name = "Markus Kötter", email = "commonism@users.noreply.github.com"},
]
dependencies = [
"PyYaml",
"pydantic",
"email-validator",
"yarl",
"httpx",
"more-itertools",
'typing_extensions; python_version<"3.10"',
"jmespath",
]
requires-python = ">=3.9"
readme = "README.md"
license = {text = "BSD-3-Clause"}
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = ['version']
[project.urls]
Documentation = "https://aiopenapi3.readthedocs.io/"
Repository = "https://github.com/commonism/aiopenapi3"
[project.optional-dependencies]
auth = [
"httpx-auth>=0.21.0",
]
socks = [
"httpx-socks",
]
types =[
"pydantic-extra-types @ git+https://github.com/pydantic/pydantic-extra-types.git@3668b3af8ab378c56342c613672aa9415dab865b",
]
[project.scripts]
aiopenapi3 = "aiopenapi3.cli:main"
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = [
"aiopenapi3",
"aiopenapi3.v20",
"aiopenapi3.v30",
"aiopenapi3.v31"
]
[tool.setuptools.dynamic]
version = {attr = "aiopenapi3.version.__version__"}
[tool.black]
line-length = 120
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore:_:UserWarning",
"ignore:unclosed <socket.socket fd=\\d+, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_DGRAM, proto=0, raddr=/run/systemd/journal/dev-log>:ResourceWarning",
"ignore:unclosed file <_io.FileIO name='/tmp/aiopenapi3-debug.log' mode='ab' closefd=True>:ResourceWarning",
"ignore:unclosed file <_io.TextIOWrapper name='/tmp/aiopenapi3-debug.log' mode='a' encoding='UTF-8'>:ResourceWarning",
"ignore:unclosed <ssl.SSLSocket:ResourceWarning",
"ignore:unclosed <socket.socket fd=:ResourceWarning",
"ignore:Ignoring Schema with additionalProperties and named properties:UserWarning",
"ignore:'flask.Markup' is deprecated and will be removed in Flask 2.4. Import 'markupsafe.Markup' instead.:DeprecationWarning",
"ignore:unclosed resource <TCPTransport:ResourceWarning"
]
asyncio_mode = "strict"
asyncio_default_fixture_loop_scope = "session"
log_cli = "yes"
log_cli_level = "DEBUG"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
addopts = "--ignore-glob 'tests/my_*.py'"
[tool.pdm.dev-dependencies]
tests = [
"pytest",
"pytest-asyncio>=0.24.0",
"pytest-httpx",
"pytest-cov",
"fastapi",
"fastapi-versioning",
"uvloop == 0.21.0b1; python_version >= '3.13'",
"uvloop; python_version < '3.13'",
"flask",
"flask_wtf",
"wtforms",
"asgiref",
"trustme",
"nonecorn",
"bootstrap-flask",
"ijson",
"python-multipart>=0.0.6",
"pydantic-extra-types @ git+https://github.com/pydantic/pydantic-extra-types.git@3668b3af8ab378c56342c613672aa9415dab865b"
]
[tool.pdm]
plugins = [
"pdm-autoexport"
]
[[tool.pdm.autoexport]]
filename = "requirements.txt"
groups = ["default"]
without-hashes = "true"
[tool.mypy]
allow_redefinition = true
[tool.coverage.report]
exclude_also = [
"if (typing\\.)?TYPE_CHECKING:"
]
[tool.coverage.run]
omit = [
"aiopenapi3/_types.py",
"aiopenapi3/__main__.py",
]