Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 22, 2024
1 parent c49cd9f commit f07e262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bumpversion/scm.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def latest_tag_info(cls, tag_name: str, parse_pattern: str) -> SCMInfo:
current_version = None
re_pattern = tag_name.replace("{new_version}", ".*")
result = subprocess.run(
["hg", "log", "-r", f"tag('re:{re_pattern}')", "--template", "{latesttag}\n"], # noqa: S603, S607
["hg", "log", "-r", f"tag('re:{re_pattern}')", "--template", "{latesttag}\n"], # noqa: S607
text=True,
check=True,
capture_output=True,
Expand Down

0 comments on commit f07e262

Please sign in to comment.