-
Notifications
You must be signed in to change notification settings - Fork 99
/
Copy pathsetup.cfg
40 lines (32 loc) · 828 Bytes
/
setup.cfg
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
[bumpversion]
current_version = 4.0.1
commit = True
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<release>[a-z]+)(?P<rc>\d+))?
serialize =
{major}.{minor}.{patch}{release}{rc}
{major}.{minor}.{patch}
[bumpversion:part:release]
optional_value = placeholder
first_value = rc
values =
rc
placeholder
[bumpversion:part:rc]
first_value = 1
[bumpversion:file:setup.py]
search = version='{current_version}'
replace = version='{new_version}'
[bumpversion:file:spade/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bumpversion:file:spade/templates/internal_tpl_base.html]
search = <b>Version</b> {current_version}
replace = <b>Version</b> {new_version}
[bdist_wheel]
universal = 1
[flake8]
exclude = docs
ignore = W503, E501
[aliases]
test = pytest