-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
91 lines (77 loc) · 1.8 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
[build-system]
build-backend = 'mesonpy'
requires = ['meson-python']
[project]
name = "pyhaloxml"
version = "3.1.2"
description = "Read and write the annotation files from Halo"
readme = "README.md"
authors = [{ name = "Rolf Harkes", email = "[email protected]" }]
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
keywords = ["Halo", "reader", "annotation"]
dependencies = [
"lxml>=4.9",
"geojson>=3.0",
"python-dateutil",
]
requires-python = ">=3.10"
[project.optional-dependencies]
shapely = ["shapely >= 2.0"]
dev = ["ruff", "bumpver", "pytest", "mypy", "numpydoc", "isort", "types-python-dateutil", "lxml-stubs"]
[project.urls]
Homepage = "https://github.com/rharkes/pyhaloxml"
[tool.bumpver]
current_version = "3.1.2"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "bump version {old_version} -> {new_version}"
commit = true
tag = true
push = true
[tool.bumpver.file_patterns]
"pyproject.toml" = [
'current_version = "{version}"',
'version = "{version}"',
]
"src/pyhaloxml/version.py" = [
"{version}"
]
"docs/source/conf.py" = [
'release = "{version}"',
'version = "{version}"'
]
"meson.build" = [
"version: '{version}'",
]
[tool.ruff]
line-length = 88
indent-width = 4
[tool.ruff.format]
docstring-code-format = false
[tool.numpydoc_validation]
checks = [
"all",
"EX01",
"SA01",
"ES01",
]
[tool.pytest.ini_options]
pythonpath = [
'./src'
]
[tool.mypy]
python_version = '3.11'
mypy_path = "src"
packages = "pyhaloxml"
strict = true
[[tool.mypy.overrides]]
module = "geojson.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "shapely.*"
ignore_missing_imports = true
[tool.cibuildwheel.windows]
archs = ["AMD64"]