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
|
[project]
name = "Quart"
version = "0.20.0"
description = "A Python ASGI web framework with the same API as Flask"
readme = "README.md"
license = {text = "MIT"}
authors = [{name = "pgjones", email = "philip.graham.jones@googlemail.com"}]
maintainers = [{name = "Pallets", email = "contact@palletsprojects.com"}]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Flask",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Typing :: Typed",
]
requires-python = ">=3.9"
dependencies = [
"aiofiles",
"blinker>=1.6",
"click>=8.0",
"flask>=3.0",
"hypercorn>=0.11.2",
"importlib-metadata; python_version < '3.10'",
"itsdangerous",
"jinja2",
"markupsafe",
"typing-extensions; python_version < '3.10'",
"werkzeug>=3.0",
]
[project.urls]
Donate = "https://palletsprojects.com/donate"
Documentation = "https://quart.palletsprojects.com/"
Changes = "https://quart.palletsprojects.com/en/latest/changes.html"
Source = "https://github.com/pallets/quart/"
Chat = "https://discord.gg/pallets"
[project.optional-dependencies]
dotenv = ["python-dotenv"]
[project.scripts]
quart = "quart.cli:main"
[build-system]
requires = ["flit-core<4"]
build-backend = "flit_core.buildapi"
[tool.flit.module]
name = "quart"
[tool.pytest.ini_options]
addopts = "--no-cov-on-fail --showlocals --strict-markers"
asyncio_default_fixture_loop_scope = "session"
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.coverage.run]
branch = true
source = ["quart", "tests"]
[tool.coverage.paths]
source = ["src", "*/site-packages"]
[tool.mypy]
python_version = "3.9"
files = ["src/quart", "tests"]
show_error_codes = true
pretty = true
strict = true
# TODO fully satisfy strict mode and remove these customizations
allow_redefinition = true
disallow_any_generics = false
disallow_untyped_calls = false
implicit_reexport = true
no_implicit_optional = true
strict_optional = false
warn_return_any = false
[tool.pyright]
pythonVersion = "3.9"
include = ["src/quart", "tests"]
typeCheckingMode = "basic"
[tool.ruff]
src = ["src"]
fix = true
show-fixes = true
output-format = "full"
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"E", # pycodestyle error
"F", # pyflakes
"FA", # flake8-future-annotations
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"W", # pycodestyle warning
]
[tool.ruff.lint.isort]
force-single-line = true
order-by-type = false
|