Skip to content

Commit e2d309a

Browse files
pre-commit-ci[bot]milesial
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e4750b3 commit e2d309a

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
@@ -1622,7 +1622,7 @@ def lr_scheduler_step(self, scheduler, optimizer_idx, metric):
16221622
16231623
"""
16241624
optimizer = self.trainer.optimizers[optimizer_idx]
1625-
if hasattr(optimizer, '_step_count') and optimizer._step_count <= 0:
1625+
if hasattr(optimizer, "_step_count") and optimizer._step_count <= 0:
16261626
return
16271627

16281628
if metric is None:

0 commit comments

Comments
 (0)