Skip to content

Commit fe0861d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 45aa9a6 commit fe0861d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

monai/utils/module.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from pydoc import locate
2727
from re import match
2828
from types import FunctionType, ModuleType
29-
from typing import Any, Iterable, cast, Dict, List
29+
from typing import Any, Iterable, cast
3030

3131
import torch
3232

@@ -60,7 +60,7 @@
6060
"pytorch_after",
6161
]
6262

63-
WRITER_PACKAGE_MAP: Dict[str, List[str]] = {
63+
WRITER_PACKAGE_MAP: dict[str, list[str]] = {
6464
"png": ["pillow"],
6565
"jpg": ["pillow"],
6666
"jpeg": ["pillow"],

0 commit comments

Comments
 (0)