maestral/setup.cfg
2021-07-25 15:25:55 +01:00

44 lines
861 B
INI

[bumpversion]
current_version = 1.4.8.dev1
commit = True
tag = False
parse = ^
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
(\.(?P<prekind>a|alpha|b|beta|d|dev|rc)
(?P<pre>\d+) # pre-release version num
)?
(\.(?P<postkind>post)(?P<post>\d+))? # post-release
serialize =
{major}.{minor}.{patch}.{prekind}{pre}.{postkind}{post}
{major}.{minor}.{patch}.{prekind}{pre}
{major}.{minor}.{patch}.{postkind}{post}
{major}.{minor}.{patch}
[bumpversion:part:prekind]
optional_value = _
values =
dev
_
[bumpversion:part:postkind]
optional_value = _
values =
_
post
[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"
[bumpversion:file:src/maestral/__init__.py]
[bumpversion:file:docs/conf.py]
[flake8]
ignore = E203,E501,W503,H306
statistics = True
[mypy]
ignore_missing_imports = True
files = src