Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 7, 2024
1 parent 45aa9a6 commit fe0861d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions monai/utils/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from pydoc import locate
from re import match
from types import FunctionType, ModuleType
from typing import Any, Iterable, cast, Dict, List
from typing import Any, Iterable, cast

import torch

Expand Down Expand Up @@ -60,7 +60,7 @@
"pytorch_after",
]

WRITER_PACKAGE_MAP: Dict[str, List[str]] = {
WRITER_PACKAGE_MAP: dict[str, list[str]] = {
"png": ["pillow"],
"jpg": ["pillow"],
"jpeg": ["pillow"],
Expand Down

0 comments on commit fe0861d

Please sign in to comment.