-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
119 lines (105 loc) · 2.35 KB
/
Copy pathpyproject.toml
File metadata and controls
119 lines (105 loc) · 2.35 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
119
[project]
name = "splitgill"
version = "3.2.2"
description = "Versioned search library"
readme = "README.md"
requires-python = ">=3.8"
license = { text = "GPL-3.0-or-later" }
authors = [
{ name = "Natural History Museum", email = "data@nhm.ac.uk" }
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"elasticsearch[async]>=8.0.0",
"elasticsearch-dsl>=8.13.1",
"pymongo>=4.4.1",
"cytoolz>=0.12.3",
"fastnumbers>=5.0.1",
"pyproj>=3.5.0",
"shapely>=2.0.5",
"regex>=2024.7.24",
"orjson>=3.10.6",
# only needed while we run on <python3.11
"StrEnum>=0.4.15",
]
[project.optional-dependencies]
test = [
"mock",
"pytest",
"pytest-cov",
"coveralls",
"freezegun",
"pytest-asyncio",
]
docs = [
"mkdocs",
"mkdocstrings[python]",
"mkdocs-material",
"mkdocs-gen-files",
"mkdocs-section-index",
"mkdocs-include-markdown-plugin",
]
[project.urls]
repository = "https://github.com/NaturalHistoryMuseum/splitgill"
changelog = "https://github.com/NaturalHistoryMuseum/splitgill/blob/main/CHANGELOG.md"
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool]
[tool.setuptools]
zip-safe = false
[tool.setuptools.packages.find]
exclude = ["tests", "docs"]
[tool.commitizen]
name = "cz_nhm"
version = "3.2.2"
tag_format = "v$version"
update_changelog_on_bump = true
changelog_incremental = false
version_files = [
"pyproject.toml:version",
"CITATION.cff:^version"
]
[tool.ruff]
target-version = "py38"
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
select = [
"E",
"F",
"I",
"D"
]
ignore = [
"D100",
"D104",
"D200",
"D202",
"D203",
"D205",
"D206",
"D212",
"D300",
"D401",
"E111",
"E114",
"E117"
]
[tool.docformatter]
wrap-summaries = 88
wrap-descriptions = 88
pre-summary-newline = true
make-summary-multi-line = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"