-
Notifications
You must be signed in to change notification settings - Fork 422
/
pyproject.toml
132 lines (118 loc) · 2.7 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
[project]
dynamic = ["version", "readme"]
name = "kinto"
description = "Kinto Web Service - Store, Sync, Share, and Self-Host."
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"License :: OSI Approved :: Apache Software License",
]
keywords = ["web", "sync", "json", "storage", "services"]
authors = [
{name = "Mozilla Services", email = "[email protected]"},
]
dependencies = [
"bcrypt",
"colander",
"cornice",
"cornice_swagger",
"dockerflow",
"jsonschema",
"jsonpatch",
"logging-color-formatter",
"python-dateutil",
"pyramid",
"pyramid_mailer",
"pyramid_multiauth",
"transaction",
"pyramid_tm",
"requests",
"waitress",
"python-rapidjson",
]
[project.urls]
Repository = "https://github.com/Kinto/kinto"
[project.scripts]
kinto = "kinto.__main__:main"
[project.entry-points."paste.app_factory"]
main = "kinto:main"
[tool.setuptools.packages.find]
include = ["kinto*"]
[tool.setuptools.package-data]
"*" = ["*.tpl", "*.sql", "plugins/admin/build/**", "VERSION"]
[tool.setuptools.dynamic]
readme = {file = ["README.rst", "CONTRIBUTORS.rst"]}
[tool.setuptools_scm]
# can be empty if no extra settings are needed, presence enables setuptools_scm
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project.optional-dependencies]
redis = [
"kinto_redis",
]
memcached = [
"python-memcached",
]
postgresql = [
"SQLAlchemy < 3",
"psycopg2",
"zope.sqlalchemy",
]
monitoring = [
"newrelic",
"sentry-sdk[sqlalchemy]",
"statsd",
"werkzeug",
"prometheus-client",
]
test = [
"bravado",
"pytest",
"pytest-cache",
"pytest-cov",
"playwright",
"webtest",
]
dev = [
"build",
"ruff",
"twine",
]
[tool.pip-tools]
# Pip does not support installing in editable mode with hashes.
generate-hashes = false
# Pip does not support extras in constraints.
strip-extras = true
[tool.coverage.run]
branch = true
[tool.ruff]
line-length = 99
extend-exclude = [
"__pycache__",
".venv/",
"kinto/plugins/admin/node_modules/",
]
[tool.ruff.lint]
select = [
# pycodestyle
"E", "W",
# flake8
"F",
# isort
"I",
]
ignore = [
# `format` will wrap lines.
"E501",
]
[tool.ruff.lint.isort]
lines-after-imports = 2