-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (72 loc) · 1.59 KB
/
Copy pathpyproject.toml
File metadata and controls
81 lines (72 loc) · 1.59 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
[build-system]
requires = ["setuptools>=62.0"]
build-backend = "setuptools.build_meta"
[project]
name = "restictool"
version = "0.7.5"
license = "MIT"
authors = [
{ name="Stanislav Meduna", email="stano@meduna.org" },
]
description = "A python wrapper for a dockerized restic tool"
readme = "README.rst"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"PyYAML",
"docker",
"schema",
"python-dateutil",
"prometheus-client",
"ipaddress",
]
[project.urls]
"Homepage" = "https://github.com/numo68/restictool"
"Bug Tracker" = "https://github.com/numo68/restictool/issues"
[project.scripts]
restictool-py = "restictool:main"
[tool.setuptools]
packages = ["restictool"]
package-dir = {"" = "src"}
[tool.pytest.ini_options]
pythonpath = [
"src",
]
testpaths = [
"tests",
]
[tool.pylint.format]
max-line-length = 130
max-branches=20
max-statements=75
max-args=6
max-positional-arguments=6
max-attributes=10
min-public-methods=0
[tool.black]
target-version = ["py313"]
[tool.bumpver]
current_version = "0.7.5"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "bump version {old_version} -> {new_version}"
tag_message = "{new_version}"
tag_scope = "default"
pre_commit_hook = ""
post_commit_hook = ""
commit = false
tag = false
push = false
[tool.bumpver.file_patterns]
"pyproject.toml" = [
'current_version = "{version}"',
'version = "{version}"',
]
"src/restictool/argument_parser.py" = [
'self.version: str = "{version}"',
]
"docs/source/conf.py" = [
'release = "{version}"',
]