diff --git a/qcodes/validators/validators.py b/qcodes/validators/validators.py index 4b78c1fbd04e..909ea6f39f52 100644 --- a/qcodes/validators/validators.py +++ b/qcodes/validators/validators.py @@ -455,7 +455,7 @@ def validate( Raises: TypeError: If not a complex number. """ - # for some reason pyright does not thing numpy complex + # for some reason pyright does not think numpy complex # types as valid types here if not isinstance(value, self.validtypes): # pyright: ignore raise TypeError(f"{repr(value)} is not complex; {context}")