-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathpyproject.toml
65 lines (58 loc) · 1.54 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
[project]
name = "Flask-Pydantic"
version = "0.13.0"
description = "Flask extension for integration with Pydantic library."
readme = "README.md"
license = { file = "LICENSE.txt" }
authors = [{ name = "Jiri Bauer" }]
maintainers = [{ name = "Pallets", email = "[email protected]" }]
classifiers = [
"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 :: Python Modules",
]
requires-python = ">=3.7"
dependencies = [
"Flask",
"pydantic>=2.0",
"typing_extensions>=4.1.1; python_version < '3.8'"
]
[project.urls]
Donate = "https://palletsprojects.com/donate"
Source = "https://github.com/pallets-eco/flask-pydantic"
Chat = "https://discord.gg/pallets"
[build-system]
requires = ["flit_core<4"]
build-backend = "flit_core.buildapi"
[tool.flit.module]
name = "flask_pydantic"
[tool.pytest]
testpaths = "tests"
addopts = "-vv --ruff --ruff-format --cov --cov-config=pyproject.toml -s"
[tool.ruff]
src = ["flask_pydantic"]
lint.select = [
"B", # flake8-bugbear
"E", # pycodestyle error
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"W", # pycodestyle warning
]
lint.ignore = ["E501"]
[tool.coverage.run]
branch = true
omit = [
"example/*"
]
include = [
"flask_pydantic/*"
]
[tool.coverage.report]
show_missing = true
skip_covered = true