forked from MongoEngine/flask-mongoengine
-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
136 lines (127 loc) · 3.14 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[project]
name = "flask-mongoengine-3"
description = "Flask extension that provides integration with MongoEngine and WTF model forms."
readme = "README.md"
requires-python = ">=3.8"
license = {text = "BSD 3-Clause License"}
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
"Framework :: Flask",
]
dependencies = [
"Flask>=1.1.4",
"mongoengine>=0.21",
'importlib-metadata; python_version<"3.8"',
]
keywords = [
"flask",
"wtf",
"wtf-forms",
"forms",
"mongo",
"pymongo",
"mongoengine",
"extension"
]
authors = [
{name = "Ross Lawley", email = "ross.lawley@gmail.com"}
]
maintainers = [
{name = "Ido Shraga", email = "idoshraga@gmail.com"},
{name = "Andrey Shpak", email = "ashpak@ashpak.ru"}
]
dynamic = ["version"]
[project.optional-dependencies]
wtf = ["WTForms[email]>=3.0.0",
"Flask-WTF>=0.14.3",
]
toolbar = ["Flask-DebugToolbar>=0.11.0"]
dev = [
"black==24.8.0",
"pre-commit",
"pytest",
"pytest-cov",
"pytest-mock",
"nox",
"Pillow>=7.0.0",
"blinker",
"mongomock-5==5.0.1", # TEMP
]
legacy = ["MarkupSafe==2.0.1"]
legacy-dev = [
"pytest",
"pytest-cov",
"pytest-mock",
"Pillow>=7.0.0",
"blinker",
"mongomock",
]
[project.urls]
Homepage = "https://github.com/idoshr/flask-mongoengine"
Documentation = "https://flask-mongoengine-3.readthedocs.io/en/latest/"
Repository = "https://github.com/idoshr/flask-mongoengine"
Changelog = "https://github.com/idoshr/flask-mongoengine/releases"
[build-system]
requires = [
"setuptools>=45",
"setuptools_scm[toml]>=6.3.1",
"wheel"
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
zip-safe = false
platforms = ["any"]
packages=["flask_mongoengine", "flask_mongoengine.wtf"]
[tool.setuptools.dynamic]
version = {attr = "flask_mongoengine._version.version"}
[tool.setuptools_scm]
write_to = "flask_mongoengine/_version.py"
[tool.black]
line-length = 88
target-version = ['py310']
exclude = '''
/(
\.eggs
| \.git
| \.tox
| \.venv
| \.vscode
| docs
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
line_length = 88
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
[tool.pytest.ini_options]
addopts = "--cov=flask_mongoengine --cov-config=setup.cfg"
testpaths = ["tests"]
filterwarnings = [
"error",
"ignore::ResourceWarning",
"ignore::DeprecationWarning:flask_mongoengine",
"ignore::DeprecationWarning:tests",
"ignore:.*deprecated and ignored since IPython.*:DeprecationWarning"
]