From c2605149a4fe9380ce9486beed76b2e80f792df2 Mon Sep 17 00:00:00 2001 From: Tyler Mathis <35553152+tsmathis@users.noreply.github.com> Date: Wed, 4 Sep 2024 11:26:18 -0700 Subject: [PATCH] add missing mypy directives --- emmet-core/emmet/core/electronic_structure.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emmet-core/emmet/core/electronic_structure.py b/emmet-core/emmet/core/electronic_structure.py index 50e5873f38..30523e0122 100644 --- a/emmet-core/emmet/core/electronic_structure.py +++ b/emmet-core/emmet/core/electronic_structure.py @@ -364,8 +364,8 @@ def from_bsdos( # type: ignore[override] is_gap_direct = False else: band_gap = gap_dict["energy"] - cbm = bs.get_cbm() - vbm = bs.get_vbm() + cbm = bs.get_cbm() # type: ignore[assignment] + vbm = bs.get_vbm() # type: ignore[assignment] is_gap_direct = gap_dict["direct"] bs_efermi = bs.efermi