forked from briancappello/flask-unchained
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
55 lines (45 loc) · 1.41 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[coverage:run]
branch = True
source = flask_unchained
[coverage:html]
directory = coverage_html_report
[tool:pytest]
testpaths = tests
addopts = -s
filterwarnings =
ignore::DeprecationWarning:`formatargspec` is deprecated
[bumpversion]
current_version = 0.6.6
parse =
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+) # major, minor and patch
(?:\-(?P<pre>(?:dev|alpha|beta|rc))\.(?P<prenum>\d+))? # pre-release
(?:\+(?P<build>\d+))? # build metadata
serialize =
{major}.{minor}.{patch}-{pre}.{prenum}+{build}
{major}.{minor}.{patch}-{pre}.{prenum}
{major}.{minor}.{patch}+{build}
{major}.{minor}.{patch}
[bumpversion:part:build]
independent = True
[bumpversion:part:pre]
optional_value = stable
values =
dev
alpha
beta
rc
stable
[bumpversion:part:prenum]
first_value = 1
[bumpversion:file:setup.py]
search = version='{current_version}'
replace = version='{new_version}'
[bumpversion:file:flask_unchained/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
[bumpversion:file:docs/conf.py]
search = release = 'v{current_version}'
replace = release = 'v{new_version}'
[bumpversion:file:flask_unchained/_code_templates/project/requirements.txt]
search = flask-unchained[{{{{ ','.join(requirements) }}}}]>={current_version}
replace = flask-unchained[{{{{ ','.join(requirements) }}}}]>={new_version}