From a3244dcf8c9bf1662e45f6b463804eada9af5051 Mon Sep 17 00:00:00 2001 From: Stefan Binder Date: Sat, 28 Oct 2023 13:24:14 +0200 Subject: [PATCH] Remove ignore statement which is redundant for new versions of mypy --- altair/vegalite/v5/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/altair/vegalite/v5/api.py b/altair/vegalite/v5/api.py index a9e33e9e1..259cce0e1 100644 --- a/altair/vegalite/v5/api.py +++ b/altair/vegalite/v5/api.py @@ -1593,7 +1593,7 @@ def transform_calculate( # an edge case and it's not worth changing the type annotation # in this function to account for it as it could be confusing to # users. - as_ = kwargs.pop("as", Undefined) # type: ignore[assignment] + as_ = kwargs.pop("as", Undefined) elif "as" in kwargs: raise ValueError( "transform_calculate: both 'as_' and 'as' passed as arguments."