Skip to content

Commit 6c752de

Browse files
committed
style: exclude ARG002
1 parent 5f530f6 commit 6c752de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch_optimizer/optimizer/shampoo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def add_statistics(self, grad: torch.Tensor):
3737
def precondition_gradient(self, grad: torch.Tensor) -> torch.Tensor:
3838
return grad
3939

40-
def update_momentum(self, update: torch.Tensor, unused_beta1: float) -> torch.Tensor:
40+
def update_momentum(self, update: torch.Tensor, unused_beta1: float) -> torch.Tensor: # noqa: ARG002
4141
return update
4242

4343

0 commit comments

Comments
 (0)