-
Notifications
You must be signed in to change notification settings - Fork 74
/
pyproject.toml
108 lines (98 loc) · 2.67 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
[project]
name = "flask-smorest"
version = "0.45.0"
description = "Flask/Marshmallow-based REST API framework"
readme = "README.rst"
license = { file = "LICENSE" }
authors = [{ name = "Jérôme Lafréchoux", email = "jerome@jolimont.fr" }]
maintainers = [
{ name = "Jérôme Lafréchoux", email = "jerome@jolimont.fr" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Internet :: WWW/HTTP",
"Environment :: Web Environment",
"Framework :: Flask",
"License :: OSI Approved :: MIT License",
"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",
]
requires-python = ">=3.9"
dependencies = [
"werkzeug>=3.0.1,<4",
"flask>=3.0.2,<4",
"marshmallow>=3.18.0,<4",
"webargs>=8.0.0,<9",
"apispec[marshmallow]>=6.0.0,<7",
]
[project.urls]
Changelog = "https://flask-smorest.readthedocs.io/en/latest/changelog.html"
Funding = "https://opencollective.com/marshmallow"
Issues = "https://github.com/marshmallow-code/flask-smorest/issues"
Source = "https://github.com/marshmallow-code/flask-smorest"
Tidelift = "https://tidelift.com/subscription/pkg/pypi-marshmallow?utm_source=pypi-marshmallow&utm_medium=pypi"
[project.optional-dependencies]
docs = [
"sphinx==8.1.3",
"sphinx-issues==5.0.0",
"alabaster==1.0.0",
]
tests = [
"pytest==8.3.4",
"pytest-cov==6.0.0",
"coverage==7.6.9",
"werkzeug==3.1.3",
"flask==3.1.0",
"marshmallow==3.23.1",
"webargs==8.6.0",
"apispec==6.8.0",
"PyYAML==6.0.2",
]
dev = [
"flask-smorest[tests]",
"tox",
"pre-commit>=3.6,<5.0",
]
[build-system]
requires = ["flit_core<4"]
build-backend = "flit_core.buildapi"
[tool.flit.sdist]
include = [
"docs/",
"tests/",
"CHANGELOG.rst",
"CONTRIBUTING.rst",
"tox.ini",
]
exclude = ["docs/_build/"]
[tool.ruff]
src = ["src"]
fix = true
show-fixes = true
output-format = "full"
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
ignore = ["E203", "E266", "E501", "E731"]
select = [
"B", # flake8-bugbear
"E", # pycodestyle error
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"W", # pycodestyle warning
]
[tool.ruff.lint.isort]
section-order = ["future", "standard-library", "testing", "pallets", "marshmallow", "third-party", "first-party", "local-folder"]
[tool.ruff.lint.isort.sections]
testing = ["pytest"]
pallets = ["werkzeug", "flask", "click"]
marshmallow = ["marshmallow", "webargs", "apispec"]
[tool.pytest.ini_options]
norecursedirs = ".git .ropeproject .tox docs env venv"
addopts = "-v --tb=short"