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 3, 2023
1 parent c6a3e84 commit f39e9b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ def _load_long_description(path_dir: str, version: str) -> str:
# codecov badge
text = text.replace("/branch/main/graph/badge.svg", f"/release/{version}/graph/badge.svg")
# replace github badges for release ones
text = text.replace("badge.svg?branch=main&event=push", f"badge.svg?tag={version}")
return text
return text.replace("badge.svg?branch=main&event=push", f"badge.svg?tag={version}")


# https://packaging.python.org/discussions/install-requires-vs-requirements /
Expand Down

0 comments on commit f39e9b7

Please sign in to comment.