-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
52 lines (45 loc) · 1.24 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
[tool.poetry]
name = "geoservercloud"
version = "0.0.0"
description = "Lightweight Python client to interact with GeoServer Cloud REST API, GeoServer ACL and OGC services"
authors = ["Camptocamp <[email protected]>"]
license = "BSD-2-Clause"
readme = "README.md"
packages = [{ include = "geoservercloud" }]
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
requests = "2.32.3"
OWSLib = "0.32.0"
xmltodict = "0.14.2"
types-requests = "2.32.0.20241016"
types-xmltodict = "0.14.0.20241009"
pytest-mock = "^3.14.0"
[tool.poetry.group.dev.dependencies]
pytest = "8.3.4"
responses = "0.25.3"
coverage = "7.6.8"
[build-system]
requires = [
"poetry-core>=1.0.0",
"poetry-dynamic-versioning[plugin]",
"poetry-plugin-tweak-dependencies-version",
]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
copy-workspace = "geoservercloud.geoservercloudsync:main"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
pattern = "^(?P<base>\\d+(\\.\\d+)*)"
format-jinja = """
{%- if distance == 0 -%}
{{serialize_pep440(base)}}
{%- else -%}
{{serialize_pep440(bump_version(base), dev=distance)}}
{%- endif -%}
"""
fix-shallow-repository = true
[tool.poetry-plugin-tweak-dependencies-version]
default = "present"
[tool.bandit]
exclude_dirs = ["tests"]