Skip to content

Commit 1882817

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytorch_lightning/core/module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import numbers
1919
import os
2020
import tempfile
21+
import warnings
2122
import weakref
2223
from contextlib import contextmanager
2324
from pathlib import Path
@@ -48,7 +49,6 @@
4849
from pytorch_lightning.utilities.signature_utils import is_param_in_hook_signature
4950
from pytorch_lightning.utilities.types import _METRIC_COLLECTION, EPOCH_OUTPUT, LRSchedulerTypeUnion, STEP_OUTPUT
5051
from pytorch_lightning.utilities.warnings import WarningCache
51-
import warnings
5252

5353
warning_cache = WarningCache()
5454
log = logging.getLogger(__name__)

0 commit comments

Comments
 (0)