mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
Fix linting errors
This commit is contained in:
parent
a2a302bce2
commit
a73ab98acb
1 changed files with 2 additions and 2 deletions
|
|
@ -76,13 +76,13 @@ def test_bump_random(monkeypatch):
|
||||||
def test_bump_tag_num():
|
def test_bump_tag_num():
|
||||||
raw_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
|
raw_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
|
||||||
cur_version = "0.1.1b0"
|
cur_version = "0.1.1b0"
|
||||||
assert v2version.incr(cur_version, raw_pattern, tag_num=True ) == "0.1.1b1"
|
assert v2version.incr(cur_version, raw_pattern, tag_num=True) == "0.1.1b1"
|
||||||
|
|
||||||
|
|
||||||
def test_bump_tag_num_without_tag():
|
def test_bump_tag_num_without_tag():
|
||||||
raw_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
|
raw_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
|
||||||
cur_version = "0.1.1"
|
cur_version = "0.1.1"
|
||||||
assert v2version.incr(cur_version, raw_pattern, tag_num=True ) == None
|
assert v2version.incr(cur_version, raw_pattern, tag_num=True) is None
|
||||||
|
|
||||||
|
|
||||||
def test_parse_version_info():
|
def test_parse_version_info():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue