forked from ionelmc/python-hunter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
43 lines (33 loc) · 913 Bytes
/
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
[build-system]
requires = [
"setuptools>=30.3.0",
"wheel",
"setuptools_scm>=3.3.1,!=4.0.0",
]
[tool.ipdb]
[tool.tbump]
github_url = "https://github.com/ionelmc/python-hunter/"
[tool.tbump.version]
current = "3.3.3"
regex = '(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)'
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"
[[tool.tbump.file]]
src = "setup.py"
search = "'fallback_version': '{current_version}'"
[[tool.tbump.file]]
src = "README.rst"
search = "/v{current_version}.svg"
[[tool.tbump.file]]
src = "README.rst"
search = "/v{current_version}...master"
[[tool.tbump.file]]
src = "docs/conf.py"
search = "version = release = '{current_version}'"
[[tool.tbump.file]]
src = "src/hunter/__init__.py"
search = "__version__ = '{current_version}'"
[[tool.tbump.before_commit]]
name = "check changelog"
cmd = "grep -q {new_version} CHANGELOG.rst"