Skip to content

Commit 0a2a855

Browse files
author
punkadiddle
committed
removed string formatting
1 parent 8df637c commit 0a2a855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/setuptools_scm/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def _pad(iterable, size, padding=None):
2222

2323

2424
def _parse_version_tag(tag, config):
25-
tagstring = tag if not isinstance(tag, string_types) else '%s' % tag
25+
tagstring = tag if not isinstance(tag, string_types) else str(tag)
2626
match = config.tag_regex.match(tagstring)
2727

2828
result = None

0 commit comments

Comments
 (0)