Skip to content

Commit 34ad851

Browse files
authored
Merge pull request #75 from jet-net/pre-commit-ci-update-config
chore: update pre-commit hooks
2 parents 4d6f6a7 + 947dc9f commit 34ad851

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ repos:
5050
args: [--prose-wrap=preserve]
5151

5252
- repo: https://github.com/astral-sh/ruff-pre-commit
53-
rev: "v0.9.4"
53+
rev: "v0.11.4"
5454
hooks:
5555
- id: ruff
5656
args: ["--fix", "--show-fixes"]
@@ -76,12 +76,12 @@ repos:
7676
- id: shellcheck
7777

7878
- repo: https://github.com/abravalheri/validate-pyproject
79-
rev: v0.23
79+
rev: v0.24.1
8080
hooks:
8181
- id: validate-pyproject
8282

8383
- repo: https://github.com/python-jsonschema/check-jsonschema
84-
rev: 0.31.1
84+
rev: 0.32.1
8585
hooks:
8686
- id: check-dependabot
8787
- id: check-github-workflows

jetnet/datasets/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def _calculate_md5(fpath: str, chunk_size: int = 1024 * 1024) -> str:
5555
# Setting the `usedforsecurity` flag does not change anything about the functionality, but
5656
# indicates that we are not using the MD5 checksum for cryptography. This enables its usage
5757
# in restricted environments like FIPS.
58-
if sys.version_info >= (3, 9): # noqa: UP036
58+
if sys.version_info >= (3, 9): # noqa: UP036
5959
md5 = hashlib.md5(usedforsecurity=False)
6060
else:
6161
md5 = hashlib.md5()

0 commit comments

Comments
 (0)