Skip to content

Commit 3ed6312

Browse files
committed
Fix CoreParameter import in regrid.py
1 parent e18dbd7 commit 3ed6312

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

e3sm_diags/driver/utils/regrid.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import TYPE_CHECKING, Literal
1+
from typing import Literal
22

33
import dask
44
import numpy as np
@@ -8,9 +8,7 @@
88
from e3sm_diags.derivations.default_regions_xr import REGION_SPECS
99
from e3sm_diags.driver import FRAC_REGION_KEYS
1010
from e3sm_diags.logger import _setup_child_logger
11-
12-
if TYPE_CHECKING:
13-
from e3sm_diags.parameter.core_parameter import CoreParameter
11+
from e3sm_diags.parameter.core_parameter import CoreParameter
1412

1513
logger = _setup_child_logger(__name__)
1614

e3sm_diags/plot/taylor_diagram.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ def __init__(self, refstd, fig=None, rect=111, label="_"):
4343
gl2_ticks = [(x, str(x)) for x in gl2_num]
4444
gl2_ticks[-1] = [gl2_num[-1], ""] # type: ignore
4545
gl2_ticks[0] = [gl2_num[0], "0"] # type: ignore
46-
# FIXME: B905: zip() without an explicit strict= parameter
4746
tf1 = GF.DictFormatter(
4847
dict(list(zip(tlocs, list(map(str, rlocs)), strict=False)))
4948
)

0 commit comments

Comments
 (0)