Skip to content

Commit

Permalink
style: fix ARG002
Browse files Browse the repository at this point in the history
  • Loading branch information
kozistr committed Jun 29, 2024
1 parent bba627d commit 60e3848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_optimizer/lr_scheduler/rex.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def get_linear_lr(self) -> float:

return self.min_lr + (self.max_lr - self.min_lr) * ((1.0 - progress) / (1.0 - progress / 2.0))

def step(self, epoch: Optional[int] = None) -> float:
def step(self, epoch: Optional[int] = None) -> float: # noqa: ARG002
value: float = self.get_linear_lr()

self.step_t += 1
Expand Down

0 comments on commit 60e3848

Please sign in to comment.