From 5f963acd8f9f134f7994ed5d8072897b9be05621 Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
<66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Mon, 3 Aug 2026 17:23:10 +0000
Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
updates:
- [github.com/pre-commit/mirrors-prettier: v3.1.0 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.1.0...v4.0.0-alpha.8)
- [github.com/astral-sh/ruff-pre-commit: v0.15.22 → v0.16.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.22...v0.16.1)
---
.pre-commit-config.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 642f8ac..8440944 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -19,7 +19,7 @@ repos:
exclude: "tests"
- repo: https://github.com/pre-commit/mirrors-prettier
- rev: v3.1.0
+ rev: v4.0.0-alpha.8
hooks:
- id: prettier
@@ -30,7 +30,7 @@ repos:
args: ["--ignore", "paper/paper.md"]
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: "v0.15.22"
+ rev: "v0.16.1"
hooks:
# Run the linter.
- id: ruff
From 29438b9bc86fb5c68c08ddc17a652cc7f30430e1 Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
<66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Mon, 3 Aug 2026 17:23:23 +0000
Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit hooks
for more information, see https://pre-commit.ci
---
README.md | 2 +-
scripts/generate_star_history.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index c10e765..04ce736 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
-[]() []() [](https://pepy.tech/project/visualtorch) [](https://github.com/willyfh/visualtorch/actions/workflows/pytest.yml) [](https://visualtorch.readthedocs.io/en/latest/?badge=latest)
+[](<>) [](<>) [](https://pepy.tech/project/visualtorch) [](https://github.com/willyfh/visualtorch/actions/workflows/pytest.yml) [](https://visualtorch.readthedocs.io/en/latest/?badge=latest)
diff --git a/scripts/generate_star_history.py b/scripts/generate_star_history.py
index 8dab9d0..1750cac 100644
--- a/scripts/generate_star_history.py
+++ b/scripts/generate_star_history.py
@@ -55,7 +55,7 @@ def _fetch_stargazer_timestamps() -> list[datetime]:
page = 1
while True:
url = f"https://api.github.com/repos/{REPO}/stargazers?per_page=100&page={page}"
- request = urllib.request.Request(url, headers=headers) # noqa: S310
+ request = urllib.request.Request(url, headers=headers)
with urllib.request.urlopen(request) as response: # noqa: S310
entries = json.loads(response.read())
if not entries: