From d4e003c237a1f007be990c2cb4fcdf8c28b4eb4c Mon Sep 17 00:00:00 2001 From: Iain Russell Date: Fri, 18 Aug 2023 15:06:57 +0100 Subject: [PATCH] Add mypy ignore lines to __main__.py --- cfgrib/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cfgrib/__main__.py b/cfgrib/__main__.py index 6f34bfe5..0404c4e6 100644 --- a/cfgrib/__main__.py +++ b/cfgrib/__main__.py @@ -169,9 +169,9 @@ def dump(inpaths, variable, cdm, engine): ds = cf2cdm.translate_coords(ds, coord_model=coord_model) if variable: - ds_or_da = ds[variable] + ds_or_da = ds[variable] # type: ignore else: - ds_or_da = ds + ds_or_da = ds # type: ignore print(ds_or_da)