-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.cfg
48 lines (40 loc) · 1.09 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
[coverage:run]
branch = True
source = flask_unchained
[coverage:html]
directory = coverage_html_report
[tool:pytest]
testpaths = tests
addopts = -s
python_paths = .
django_find_project = false
DJANGO_SETTINGS_MODULE = django_test_app.settings
[bumpversion]
current_version = 0.6.1
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:py_yaml_fixtures/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'