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:
579579 L_symbols = "SPDFGHIKLMNOQRTUVWXYZ"
580580
581581 term_symbols = self .term_symbols
582- term_symbol_flat = { # type: ignore[var-annotated]
582+ term_symbol_flat : dict = {
583583 term : {
584584 "multiplicity" : int (term [0 ]),
585585 "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:
34603460 _kpoints : list [Sequence [Kpoint ]] = []
34613461 _weights = []
34623462
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 ):
34643465 if kpoints_object .style != Kpoints .supported_modes .Reciprocal :
34653466 raise ValueError ("Can only combine kpoints with style=Kpoints.supported_modes.Reciprocal" )
34663467 if kpoints_object .labels is None :
You can’t perform that action at this time.
0 commit comments