-
-
Notifications
You must be signed in to change notification settings - Fork 115
/
pyproject.toml
77 lines (69 loc) · 2.33 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
[project]
name = "APIFlask"
description = "A lightweight web API framework based on Flask and marshmallow-code projects."
readme = "README.md"
license = { text = "MIT" }
authors = [{ name = "Grey Li", email = "[email protected]" }]
version = "2.1.2-dev"
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Framework :: Flask",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Software Development :: Libraries :: Application Frameworks",
]
dependencies = [
"flask >= 2",
"flask-marshmallow >= 1.0.0",
"marshmallow >= 3.20",
"webargs >= 8.3",
"flask-httpauth >= 4",
"apispec >= 6",
]
[project.urls]
Documentation = "https://apiflask.com/docs"
Changes = "https://apiflask.com/changelog"
"Source Code" = "https://github.com/apiflask/apiflask"
"Issue Tracker" = "https://github.com/apiflask/apiflask/issues"
Donate = "https://opencollective.com/apiflask"
[project.optional-dependencies]
dotenv = ["python-dotenv"]
async = ["asgiref>=3.2"]
yaml = ["pyyaml"]
[project.scripts]
apiflask = "flask.cli:main"
spec = "apiflask.commands:spec_command"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.mypy]
files = ["src/apiflask"]
allow_redefinition = true
warn_redundant_casts = true
warn_unused_configs = true
no_implicit_optional = true
local_partial_types = true
strict_equality = true
warn_return_any = true
warn_unreachable = true
disallow_untyped_calls = true
[[tool.mypy.overrides]]
module = ["flask_marshmallow.*", "apispec.*", "flask_httpauth.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests", "examples"]
filterwarnings = ["ignore::UserWarning"]
addopts = ["--cov=apiflask", "--cov-branch", "--cov-report=term-missing"]
[tool.coverage.run]
omit = ["src/apiflask/_decorators.py", "src/apiflask/views.py"]