Skip to content

Commit 32f608d

Browse files
style: pre-commit fixes
1 parent 10eacb9 commit 32f608d

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

jetnet/datasets/dataset.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
from __future__ import annotations
66

7-
from typing import Any, Callable
7+
from collections.abc import Callable
8+
from typing import Any
89

910
import torch
1011
from torch import Tensor

jetnet/datasets/jetnet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import annotations
22

3+
from collections.abc import Callable
34
from copy import copy
4-
from typing import Callable
55

66
import numpy as np
77

jetnet/datasets/qgjets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import annotations
22

3+
from collections.abc import Callable
34
from copy import copy
4-
from typing import Callable
55

66
import numpy as np
77

jetnet/datasets/toptagging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import annotations
22

3+
from collections.abc import Callable
34
from copy import copy
4-
from typing import Callable
55

66
import numpy as np
77

0 commit comments

Comments
 (0)