Skip to content

Commit 920dd88

Browse files
committed
Fix typing
1 parent 15e9dbb commit 920dd88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • baybe/surrogates/gaussian_process/components

baybe/surrogates/gaussian_process/components/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class GPComponentType(Enum):
5151

5252
def get_types(self) -> tuple[type, ...]:
5353
"""Get the accepted BayBE and GPyTorch types for this component."""
54-
types = []
54+
types: list[type[GPComponent]] = []
5555

5656
# Add BayBE type if applicable
5757
if self is GPComponentType.KERNEL:

0 commit comments

Comments
 (0)