remove TODO related to older pyright version

This commit is contained in:
Cédric Deltheil 2023-10-10 11:53:23 +02:00 committed by Cédric Deltheil
parent 5aa8e11eb7
commit 455be5a4be

View file

@ -87,7 +87,7 @@ def gaussian_blur(
elif isinstance(sigma, float): elif isinstance(sigma, float):
sx, sy = sigma, sigma sx, sy = sigma, sigma
else: else:
assert isinstance(sigma, tuple) # TODO: remove with pyright +1.1.330 assert isinstance(sigma, tuple)
sx, sy = sigma sx, sy = sigma
channels = tensor.shape[-3] channels = tensor.shape[-3]