-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
executable file
·113 lines (99 loc) · 2.88 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "geoserver-py"
version = "0.2.0"
description = "Minimal python client to communicate with Geoserver."
authors = ["Arthur Dujardin <arthurdujardin.github@gmail.com>"]
maintainers = ["Arthur Dujardin <arthurdujardin.github@gmail.com>"]
homepage = "https://github.com/arthurdjn/geoserver-py/"
repository = "https://github.com/arthurdjn/geoserver-py/"
documentation = "https://github.com/arthurdjn/geoserver-py/"
license = "MIT"
readme = "README.md"
keywords = ["geoserver", "python", "client", "api"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
packages = [{ include = "geoserver", from = "." }]
[tool.poetry.dependencies]
python = "^3.9"
requests = "^2.31.0"
typing-extensions = "^4.12.1"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.5.0"
pytest = "^8.0.0"
pytest-cov = "^4.1.0"
mkdocs = "^1.5.3"
mkdocs-material = "^9.5.6"
mkdocstrings-python = "^1.8.0"
types-requests = "^2.31.0.20240125"
ipykernel = "^6.29.0"
python-dotenv = "^1.0.1"
psycopg2-binary = "^2.9.9"
seaborn = "^0.13.2"
mkdocs-jupyter = "^0.24.7"
mkdocs-simple-hooks = "^0.1.5"
mkdocs-exclude = "^1.0.2"
nbconvert = "^7.16.4"
dict2xml = "^1.7.5"
bump-my-version = "^0.21.1"
ruff = "^0.7.0"
mypy = "^1.13.0"
[tool.ruff]
target-version = "py312"
line-length = 120
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"geoserver/**/__init__.py" = ["F401"]
[tool.ruff.lint.isort]
known-first-party = ["geoserver"]
[tool.mypy]
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
no_implicit_optional = true
show_error_codes = true
ignore_missing_imports = true
explicit_package_bases = true
check_untyped_defs = true
implicit_reexport = true
[tool.pytest.ini_options]
addopts = ["--capture=no", "--color=yes", "-vv"]
[tool.coverage.run]
source = ["geoserver"]
[tool.coverage.report]
precision = 2
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"if __name__ == '__main__'",
]
[tool.bumpversion]
current_version = "0.2.0"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
regex = false
ignore_missing_version = false
tag = true
sign_tags = false
tag_name = "{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = false
message = "release: version updated from {current_version} to {new_version}"
commit_args = ""
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
[[tool.bumpversion.files]]
filename = "geoserver/__init__.py"
search = '__version__ = "{current_version}"'
replace = '__version__ = "{new_version}"'