Skip to content

Commit

Permalink
add missing mypy directives
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmathis committed Sep 4, 2024
1 parent 25373cd commit 7ded807
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emmet-core/emmet/core/electronic_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7ded807

Please sign in to comment.