| 1 |
[project] |
| 2 |
name = "quart-trio" |
| 3 |
version = "0.13.0" |
| 4 |
description = "A Quart extension to provide trio support" |
| 5 |
authors = [ |
| 6 |
{ name = "pgjones", email = "[email protected]" }, |
| 7 |
] |
| 8 |
classifiers = [ |
| 9 |
"Development Status :: 3 - Alpha", |
| 10 |
"Environment :: Web Environment", |
| 11 |
"Intended Audience :: Developers", |
| 12 |
"License :: OSI Approved :: MIT License", |
| 13 |
"Operating System :: OS Independent", |
| 14 |
"Programming Language :: Python", |
| 15 |
"Programming Language :: Python :: 3.13", |
| 16 |
"Programming Language :: Python :: 3.14", |
| 17 |
"Topic :: Internet :: WWW/HTTP :: Dynamic Content", |
| 18 |
"Topic :: Software Development :: Libraries :: Python Modules", |
| 19 |
] |
| 20 |
include = [ |
| 21 |
"src/quart_trio/py.typed", |
| 22 |
] |
| 23 |
readme = "README.rst" |
| 24 |
repository = "https://github.com/pgjones/quart-trio/" |
| 25 |
dependencies = [ |
| 26 |
"hypercorn[trio] >= 0.12.0", |
| 27 |
"quart >= 0.23", |
| 28 |
"trio >= 0.19.0", |
| 29 |
] |
| 30 |
requires-python = ">=3.13" |
| 31 |
|
| 32 |
[project.license] |
| 33 |
text = "MIT" |
| 34 |
|
| 35 |
[project.optional-dependencies] |
| 36 |
docs = [ |
| 37 |
"pydata_sphinx_theme", |
| 38 |
] |
| 39 |
|
| 40 |
[tool.black] |
| 41 |
line-length = 100 |
| 42 |
target-version = [ |
| 43 |
"py313", |
| 44 |
] |
| 45 |
|
| 46 |
[tool.isort] |
| 47 |
combine_as_imports = true |
| 48 |
force_grid_wrap = 0 |
| 49 |
include_trailing_comma = true |
| 50 |
known_first_party = "quart_trio, tests" |
| 51 |
line_length = 100 |
| 52 |
multi_line_output = 3 |
| 53 |
no_lines_before = "LOCALFOLDER" |
| 54 |
order_by_type = false |
| 55 |
reverse_relative = true |
| 56 |
|
| 57 |
[tool.mypy] |
| 58 |
allow_redefinition = true |
| 59 |
disallow_any_generics = false |
| 60 |
disallow_subclassing_any = true |
| 61 |
disallow_untyped_calls = false |
| 62 |
disallow_untyped_defs = true |
| 63 |
implicit_reexport = true |
| 64 |
no_implicit_optional = true |
| 65 |
show_error_codes = true |
| 66 |
strict = true |
| 67 |
strict_equality = true |
| 68 |
strict_optional = false |
| 69 |
warn_redundant_casts = true |
| 70 |
warn_return_any = false |
| 71 |
warn_unused_configs = true |
| 72 |
warn_unused_ignores = true |
| 73 |
|
| 74 |
[[tool.mypy.overrides]] |
| 75 |
module = [ |
| 76 |
"trio.*", |
| 77 |
] |
| 78 |
ignore_missing_imports = true |
| 79 |
|
| 80 |
[tool.pytest.ini_options] |
| 81 |
addopts = "--no-cov-on-fail --showlocals --strict-markers" |
| 82 |
asyncio_default_fixture_loop_scope = "session" |
| 83 |
asyncio_mode = "auto" |
| 84 |
testpaths = [ |
| 85 |
"tests", |
| 86 |
] |
| 87 |
|
| 88 |
[build-system] |
| 89 |
requires = [ |
| 90 |
"pdm-backend", |
| 91 |
] |
| 92 |
build-backend = "pdm.backend" |