Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
JosePizarro3 committed May 16, 2024
1 parent 0e30cfc commit f4caa3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import os
import pytest
from typing import List, Optional
from typing import List, Optional, Union

from nomad.units import ureg
from nomad.datamodel import EntryArchive
Expand Down Expand Up @@ -221,7 +221,7 @@ def generate_electronic_eigenvalues(
[0, 1, 1],
[1, 1, 1],
],
value: Optional[List[float]] = None,
value: Optional[List[Union[List[float], List[int]]]] = None,
occupation: Optional[List[float]] = None,
highest_occupied: Optional[float] = None,
lowest_unoccupied: Optional[float] = None,
Expand Down

0 comments on commit f4caa3a

Please sign in to comment.