File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -579,7 +579,7 @@ def ground_state_term_symbol(self) -> str:
579
579
L_symbols = "SPDFGHIKLMNOQRTUVWXYZ"
580
580
581
581
term_symbols = self .term_symbols
582
- term_symbol_flat = { # type: ignore[var-annotated]
582
+ term_symbol_flat : dict = {
583
583
term : {
584
584
"multiplicity" : int (term [0 ]),
585
585
"L" : L_symbols .index (term [1 ]),
Original file line number Diff line number Diff line change @@ -3460,7 +3460,8 @@ def _combine_kpoints(*kpoints_objects: Kpoints | None) -> Kpoints:
3460
3460
_kpoints : list [Sequence [Kpoint ]] = []
3461
3461
_weights = []
3462
3462
3463
- for kpoints_object in filter (None , kpoints_objects ): # type: ignore[var-annotated]
3463
+ kpoints_object : Kpoints
3464
+ for kpoints_object in filter (None , kpoints_objects ):
3464
3465
if kpoints_object .style != Kpoints .supported_modes .Reciprocal :
3465
3466
raise ValueError ("Can only combine kpoints with style=Kpoints.supported_modes.Reciprocal" )
3466
3467
if kpoints_object .labels is None :
You can’t perform that action at this time.
0 commit comments