-
Notifications
You must be signed in to change notification settings - Fork 23
/
pyproject.toml
81 lines (75 loc) · 2.22 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
[project]
name = "quart-schema"
version = "0.21.0"
description = "A Quart extension to provide schema validation"
authors = [
{name = "pgjones", email = "[email protected]"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
]
include = ["src/quart_schema/py.typed"]
license = {text = "MIT"}
readme = "README.rst"
repository = "https://gitlab.com/pgjones/quart-schema/"
dependencies = [
"pyhumps >= 1.6.1",
"quart >= 0.19.0",
"typing_extensions; python_version < '3.11'",
]
requires-python = ">=3.9"
[project.optional-dependencies]
docs = ["pydata_sphinx_theme", "sphinx-tabs >= 3.4.4"]
msgspec = ["msgspec >= 0.18"]
pydantic = ["pydantic >= 2"]
[tool.black]
line-length = 100
target-version = ["py39"]
[tool.isort]
combine_as_imports = true
force_grid_wrap = 0
include_trailing_comma = true
known_first_party = "quart_schema, tests"
line_length = 100
multi_line_output = 3
no_lines_before = "LOCALFOLDER"
order_by_type = false
reverse_relative = true
[tool.mypy]
allow_redefinition = true
disallow_any_generics = false
disallow_subclassing_any = true
disallow_untyped_calls = false
disallow_untyped_defs = true
implicit_reexport = true
no_implicit_optional = true
plugins = "pydantic.mypy"
show_error_codes = true
strict = true
strict_equality = true
strict_optional = false
warn_redundant_casts = true
warn_return_any = false
warn_unused_configs = true
warn_unused_ignores = true
[tool.pytest.ini_options]
addopts = "--no-cov-on-fail --showlocals --strict-markers"
asyncio_default_fixture_loop_scope = "session"
asyncio_mode = "auto"
testpaths = ["tests"]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"