Skip to content

Commit 9c12662

Browse files
pre-commit-ci[bot]lexierule
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e202953 commit 9c12662

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pytorch_lightning/loggers/wandb.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@
3131
_WANDB_AVAILABLE = _module_available("wandb")
3232

3333
try:
34-
from wandb.wandb_run import Run
35-
3634
import wandb
35+
from wandb.wandb_run import Run
3736
except ImportError:
3837
# needed for test mocks, these tests shall be updated
3938
wandb, Run = None, None

pytorch_lightning/utilities/types.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import torch
44
from torchmetrics import Metric
5-
65
"""
76
Convention:
87
- Do not include any `_TYPE` suffix

0 commit comments

Comments
 (0)