Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit suggestions (#32)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit suggestions

updates:
- [github.com/asottile/pyupgrade: v3.3.1 → v3.8.0](asottile/pyupgrade@v3.3.1...v3.8.0)
- [github.com/asottile/yesqa: v1.4.0 → v1.5.0](asottile/yesqa@v1.4.0...v1.5.0)
- [github.com/charliermarsh/ruff-pre-commit: v0.0.260 → v0.0.275](astral-sh/ruff-pre-commit@v0.0.260...v0.0.275)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] committed Jul 3, 2023
1 parent 0d6b20f commit 64e5c4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
- id: detect-private-key

- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.8.0
hooks:
- id: pyupgrade
args: [--py37-plus]
Expand Down Expand Up @@ -63,7 +63,7 @@ repos:
- mdformat_frontmatter

- repo: https://github.com/asottile/yesqa
rev: v1.4.0
rev: v1.5.0
hooks:
- id: yesqa
additional_dependencies:
Expand All @@ -72,7 +72,7 @@ repos:
- flake8-bandit

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.260
rev: v0.0.275
hooks:
- id: ruff
args: ["--fix"]
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 64e5c4d

Please sign in to comment.