-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (104 loc) · 2.5 KB
/
pyproject.toml
File metadata and controls
118 lines (104 loc) · 2.5 KB
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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "zodb-pgjsonb"
dynamic = ["version"]
description = "ZODB storage adapter using PostgreSQL JSONB with zodb-json-codec transcoding"
readme = "README.md"
license = "ZPL-2.1"
requires-python = ">=3.12"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Zope Public License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Database",
"Framework :: ZODB",
]
dependencies = [
"ZODB>=5.8",
"zodb-json-codec>=1.6.1",
"psycopg[binary,pool]>=3.1",
"zope.interface",
"transaction",
"ZConfig",
]
[project.urls]
Homepage = "https://github.com/bluedynamics/zodb-pgjsonb"
Documentation = "https://bluedynamics.github.io/zodb-pgjsonb/"
Repository = "https://github.com/bluedynamics/zodb-pgjsonb"
Changelog = "https://github.com/bluedynamics/zodb-pgjsonb/blob/main/CHANGES.md"
Issues = "https://github.com/bluedynamics/zodb-pgjsonb/issues"
[project.optional-dependencies]
s3 = ["zodb-s3blobs", "boto3>=1.26"]
test = [
"pytest",
"pytest-cov",
"coverage[toml]>=7.0",
"testcontainers[postgres]",
"moto[s3]>=4.0",
"zope.testing",
]
bench = [
"relstorage>=4.0",
"psycopg2-binary",
]
[tool.hatch.build.targets.sdist]
exclude = ["example/"]
[tool.hatch.build.targets.wheel]
packages = ["src/zodb_pgjsonb"]
[tool.hatch.version]
source = "vcs"
raw-options = { local_scheme = "no-local-version" }
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = ["db: test requires PostgreSQL (skipped when DB unavailable)"]
[tool.coverage.run]
parallel = true
source = ["zodb_pgjsonb"]
relative_files = true
[tool.coverage.report]
show_missing = true
fail_under = 90
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
]
[tool.ruff]
target-version = "py312"
[tool.ruff.lint]
select = [
"A",
"B",
"C4",
"E",
"F",
"I",
"RUF",
"SIM",
"T20",
"UP",
"W",
]
ignore = [
"E501",
"RUF001",
"RUF002",
]
[tool.ruff.lint.isort]
force-single-line = true
from-first = true
lines-after-imports = 2
lines-between-types = 1
no-sections = true
order-by-type = false
[tool.ruff.lint.pycodestyle]
max-line-length = 120
max-doc-length = 120
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["T201"]
"benchmarks/*" = ["T201"]