Skip to content
Open
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
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ exclude: ".*key"

repos:
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.1.0
rev: 25.12.0
hooks:
- id: black-jupyter
language_version: python3
args: [--line-length=100]

- repo: https://github.com/adamchainz/blacken-docs
rev: "1.19.1"
rev: "1.20.0"
hooks:
- id: blacken-docs
additional_dependencies: [black==23.*]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v5.0.0"
rev: "v6.0.0"
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand Down Expand Up @@ -50,7 +50,7 @@ repos:
args: [--prose-wrap=preserve]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.11.12"
rev: "v0.14.10"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand All @@ -71,7 +71,7 @@ repos:
types_or: [python, rst, markdown]

- repo: https://github.com/shellcheck-py/shellcheck-py
rev: "v0.10.0.1"
rev: "v0.11.0.1"
hooks:
- id: shellcheck

Expand All @@ -81,7 +81,7 @@ repos:
- id: validate-pyproject

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.33.0
rev: 0.36.0
hooks:
- id: check-dependabot
- id: check-github-workflows
Expand Down
3 changes: 2 additions & 1 deletion jetnet/datasets/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

from __future__ import annotations

from typing import Any, Callable
from collections.abc import Callable
from typing import Any

import torch
from torch import Tensor
Expand Down
2 changes: 1 addition & 1 deletion jetnet/datasets/jetnet.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations

from collections.abc import Callable
from copy import copy
from typing import Callable

import numpy as np

Expand Down
2 changes: 1 addition & 1 deletion jetnet/datasets/qgjets.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations

from collections.abc import Callable
from copy import copy
from typing import Callable

import numpy as np

Expand Down
2 changes: 1 addition & 1 deletion jetnet/datasets/toptagging.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations

from collections.abc import Callable
from copy import copy
from typing import Callable

import numpy as np

Expand Down