Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ repos:
- id: detect-private-key

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v2.3.0"
rev: "v2.3.1"
hooks:
- id: mypy
additional_dependencies: [types-PyYAML]
exclude: "tests"

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
rev: v4.0.0-alpha.8
hooks:
- id: prettier

Expand All @@ -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.3"
hooks:
# Run the linter.
- id: ruff
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<br/>
<br/>

[![python](https://img.shields.io/badge/python-3.10%2B-blue)]() [![pytorch](https://img.shields.io/badge/pytorch-2.0%2B-orange)]() [![Downloads](https://static.pepy.tech/personalized-badge/visualtorch?period=total&units=international_system&left_color=grey&right_color=green&left_text=PyPI%20Downloads)](https://pepy.tech/project/visualtorch) [![Run Tests](https://github.com/willyfh/visualtorch/actions/workflows/pytest.yml/badge.svg)](https://github.com/willyfh/visualtorch/actions/workflows/pytest.yml) [![Documentation Status](https://readthedocs.org/projects/visualtorch/badge/?version=latest)](https://visualtorch.readthedocs.io/en/latest/?badge=latest)
[![python](https://img.shields.io/badge/python-3.10%2B-blue)](<>) [![pytorch](https://img.shields.io/badge/pytorch-2.0%2B-orange)](<>) [![Downloads](https://static.pepy.tech/personalized-badge/visualtorch?period=total&units=international_system&left_color=grey&right_color=green&left_text=PyPI%20Downloads)](https://pepy.tech/project/visualtorch) [![Run Tests](https://github.com/willyfh/visualtorch/actions/workflows/pytest.yml/badge.svg)](https://github.com/willyfh/visualtorch/actions/workflows/pytest.yml) [![Documentation Status](https://readthedocs.org/projects/visualtorch/badge/?version=latest)](https://visualtorch.readthedocs.io/en/latest/?badge=latest)

</div>

Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_star_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading