ci: add refurb to pre-commit config

This commit is contained in:
Alexander Engelsberger
2022-10-26 13:19:45 +02:00
parent 482044ec87
commit c547af728b
5 changed files with 14 additions and 8 deletions

View File

@@ -41,7 +41,7 @@ class GMLVQ(
comparison_args: Keyword arguments for the comparison function. Override Default: {}.
"""
comparison_fn: Callable = omega_distance
comparison_args: dict = field(default_factory=lambda: dict())
comparison_args: dict = field(default_factory=dict)
optimizer: type[torch.optim.Optimizer] = torch.optim.Adam
lr: dict = field(default_factory=lambda: dict(