Skip to content

Commit

Permalink
Remove no longer needed mypy ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianSosic committed May 14, 2024
1 parent 2124ac2 commit 80ae210
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions baybe/kernels/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ def to_gpytorch(
base_classes = get_baseclasses(kernel_cls, abstract=True)
fields_dict = {}
for cls in [kernel_cls, *base_classes]:
fields_dict.update(
filter_attributes(object=self, callable_=cls.__init__) # type: ignore[misc]
)
fields_dict.update(filter_attributes(object=self, callable_=cls.__init__))

# Convert specified priors to gpytorch, if provided
prior_dict = {
Expand Down

0 comments on commit 80ae210

Please sign in to comment.